diff options
author | Robert Haas <rhaas@postgresql.org> | 2016-02-12 08:07:11 -0500 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2016-02-12 08:07:11 -0500 |
commit | 63461a63f94a333eae272be3d44ae1602cda75cb (patch) | |
tree | b76c93a66ce9731271365350ff0bec7fc838a7ac /src/backend/replication | |
parent | caefc11ef6613683ddf8ded2081da3db238f463e (diff) |
Make builtin lwlock tranche names consistent.
Previously, we had a mix of styles.
Amit Kapila
Diffstat (limited to 'src/backend/replication')
-rw-r--r-- | src/backend/replication/logical/origin.c | 2 | ||||
-rw-r--r-- | src/backend/replication/slot.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/replication/logical/origin.c b/src/backend/replication/logical/origin.c index 5af47ec584e..0caf7a3bf38 100644 --- a/src/backend/replication/logical/origin.c +++ b/src/backend/replication/logical/origin.c @@ -474,7 +474,7 @@ ReplicationOriginShmemInit(void) int i; replication_states_ctl->tranche_id = LWTRANCHE_REPLICATION_ORIGIN; - replication_states_ctl->tranche.name = "ReplicationOrigins"; + replication_states_ctl->tranche.name = "replication_origin"; replication_states_ctl->tranche.array_base = &replication_states[0].lock; replication_states_ctl->tranche.array_stride = 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); |