pgsql: Fix inconsistent LWLock tranche names for MultiXact*

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix inconsistent LWLock tranche names for MultiXact*
Date: 2025-07-17 00:33:30
Message-ID: E1ucCZ0-006fnf-2D@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(dot)pg(at)gmail(dot)com>
Reviewed-by: Álvaro Herrera <alvherre(at)kurilemu(dot)de>
Discussion: https://postgr.es/m/aHdxN0D0hKXzHFQG@ip-10-97-1-34.eu-west-3.compute.internal
Backpatch-through: 17

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/a493e741d32b7580abe4d0dcc444fcedd8feec6e

Modified Files
--------------
src/backend/storage/lmgr/lwlock.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message David Rowley 2025-07-17 00:52:07 Re: pgsql: pg_logicalinspect: Fix possible crash when passing a directory p
Previous Message Daniel Gustafsson 2025-07-16 22:46:09 pgsql: doc: Add example file for COPY