1
0
mirror of https://github.com/postgres/postgres.git synced 2025-09-02 04:21:28 +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

@@ -138,7 +138,7 @@ ReplicationSlotsShmemInit(void)
ShmemInitStruct("ReplicationSlot Ctl", ReplicationSlotsShmemSize(),
&found);
ReplSlotIOLWLockTranche.name = "Replication Slot IO Locks";
ReplSlotIOLWLockTranche.name = "replication_slot_io";
ReplSlotIOLWLockTranche.array_base =
((char *) ReplicationSlotCtl) + offsetof(ReplicationSlotCtlData, replication_slots) +offsetof(ReplicationSlot, io_in_progress_lock);
ReplSlotIOLWLockTranche.array_stride = sizeof(ReplicationSlot);