From 63461a63f94a333eae272be3d44ae1602cda75cb Mon Sep 17 00:00:00 2001 From: Robert Haas Date: Fri, 12 Feb 2016 08:07:11 -0500 Subject: Make builtin lwlock tranche names consistent. Previously, we had a mix of styles. Amit Kapila --- src/backend/replication/slot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/backend/replication/slot.c') diff --git a/src/backend/replication/slot.c b/src/backend/replication/slot.c index 11b44a483c7..a2c6524e0b5 100644 --- a/src/backend/replication/slot.c +++ b/src/backend/replication/slot.c @@ -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); -- cgit v1.2.3