]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Fix inconsistent LWLock tranche names for MultiXact*
authorMichael Paquier <michael@paquier.xyz>
Thu, 17 Jul 2025 00:32:49 +0000 (09:32 +0900)
committerMichael Paquier <michael@paquier.xyz>
Thu, 17 Jul 2025 00:32:49 +0000 (09:32 +0900)
commit4fcbe06aa8f825c118e7076ebde1ccf57c022570
tree8e58bcd51e274b0fbcaa1b39f4551b066d0f4372
parent409c63f9f634c1d9aa5a4afb17f54056b3de7c88
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 <bertranddrouvot.pg@gmail.com>
Reviewed-by: Álvaro Herrera <alvherre@kurilemu.de>
Discussion: https://postgr.es/m/aHdxN0D0hKXzHFQG@ip-10-97-1-34.eu-west-3.compute.internal
Backpatch-through: 17
src/backend/storage/lmgr/lwlock.c