File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -4675,7 +4675,7 @@ XLOGShmemInit(void)
46754675 (WALInsertLockPadded * ) allocptr ;
46764676 allocptr += sizeof (WALInsertLockPadded ) * NUM_XLOGINSERT_LOCKS ;
46774677
4678- XLogCtl -> Insert .WALInsertLockTranche .name = "WALInsertLocks " ;
4678+ XLogCtl -> Insert .WALInsertLockTranche .name = "wal_insert " ;
46794679 XLogCtl -> Insert .WALInsertLockTranche .array_base = WALInsertLocks ;
46804680 XLogCtl -> Insert .WALInsertLockTranche .array_stride = sizeof (WALInsertLockPadded );
46814681
Original file line number Diff line number Diff line change @@ -474,7 +474,7 @@ ReplicationOriginShmemInit(void)
474474 int i ;
475475
476476 replication_states_ctl -> tranche_id = LWTRANCHE_REPLICATION_ORIGIN ;
477- replication_states_ctl -> tranche .name = "ReplicationOrigins " ;
477+ replication_states_ctl -> tranche .name = "replication_origin " ;
478478 replication_states_ctl -> tranche .array_base =
479479 & replication_states [0 ].lock ;
480480 replication_states_ctl -> tranche .array_stride =
Original file line number Diff line number Diff line change @@ -138,7 +138,7 @@ ReplicationSlotsShmemInit(void)
138138 ShmemInitStruct ("ReplicationSlot Ctl" , ReplicationSlotsShmemSize (),
139139 & found );
140140
141- ReplSlotIOLWLockTranche .name = "Replication Slot IO Locks " ;
141+ ReplSlotIOLWLockTranche .name = "replication_slot_io " ;
142142 ReplSlotIOLWLockTranche .array_base =
143143 ((char * ) ReplicationSlotCtl ) + offsetof(ReplicationSlotCtlData , replication_slots ) + offsetof(ReplicationSlot , io_in_progress_lock );
144144 ReplSlotIOLWLockTranche .array_stride = sizeof (ReplicationSlot );
Original file line number Diff line number Diff line change @@ -90,13 +90,13 @@ InitBufferPool(void)
9090 + PG_CACHE_LINE_SIZE ,
9191 & foundIOLocks ));
9292
93- BufferIOLWLockTranche .name = "Buffer IO Locks " ;
93+ BufferIOLWLockTranche .name = "buffer_io " ;
9494 BufferIOLWLockTranche .array_base = BufferIOLWLockArray ;
9595 BufferIOLWLockTranche .array_stride = sizeof (LWLockMinimallyPadded );
9696 LWLockRegisterTranche (LWTRANCHE_BUFFER_IO_IN_PROGRESS ,
9797 & BufferIOLWLockTranche );
9898
99- BufferContentLWLockTranche .name = "Buffer Content Locks " ;
99+ BufferContentLWLockTranche .name = "buffer_content " ;
100100 BufferContentLWLockTranche .array_base =
101101 ((char * ) BufferDescriptors ) + offsetof(BufferDesc , content_lock );
102102 BufferContentLWLockTranche .array_stride = sizeof (BufferDescPadded );
You can’t perform that action at this time.
0 commit comments