1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-30 21:42:05 +03:00

Make builtin lwlock tranche names consistent.

Previously, we had a mix of styles.

Amit Kapila
This commit is contained in:
Robert Haas
2016-02-12 08:07:11 -05:00
parent caefc11ef6
commit 63461a63f9
4 changed files with 5 additions and 5 deletions

View File

@ -4675,7 +4675,7 @@ XLOGShmemInit(void)
(WALInsertLockPadded *) allocptr;
allocptr += sizeof(WALInsertLockPadded) * NUM_XLOGINSERT_LOCKS;
XLogCtl->Insert.WALInsertLockTranche.name = "WALInsertLocks";
XLogCtl->Insert.WALInsertLockTranche.name = "wal_insert";
XLogCtl->Insert.WALInsertLockTranche.array_base = WALInsertLocks;
XLogCtl->Insert.WALInsertLockTranche.array_stride = sizeof(WALInsertLockPadded);