Fix inconsistent LWLock tranche names for MultiXact*
authorMichael Paquier <[email protected]>
Thu, 17 Jul 2025 00:30:26 +0000 (09:30 +0900)
committerMichael Paquier <[email protected]>
Thu, 17 Jul 2025 00:30:26 +0000 (09:30 +0900)
commita493e741d32b7580abe4d0dcc444fcedd8feec6e
tree8fd28c895a731094a60779c6375217e5b2bbb70d
parentf6ffbeda00e08c4c8ac8cf72173f84157491bfde
Fix inconsistent LWLock tranche names for MultiXact*

The terms used in wait_event_names.txt and lwlock.c were inconsistent
for MultiXactOffsetSLRU and MultiXactMemberSLRU, which could cause joins
between pg_wait_events and pg_stat_activity to fail.  lwlock.c is
adjusted in this commit to what the historical name of the event has
always been, and what is documented.

Oversight in 53c2a97a9266.  08b9b9e043bb has fixed a similar
inconsistency some time ago.

Author: Bertrand Drouvot <[email protected]>
Reviewed-by: Álvaro Herrera <[email protected]>
Discussion: https://postgr.es/m/[email protected]
Backpatch-through: 17
src/backend/storage/lmgr/lwlock.c