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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user