]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Drop "Lock" suffix from LWLock wait event names
authorÁlvaro Herrera <alvherre@alvh.no-ip.org>
Tue, 3 Dec 2024 14:50:03 +0000 (15:50 +0100)
committerÁlvaro Herrera <alvherre@alvh.no-ip.org>
Tue, 3 Dec 2024 14:50:03 +0000 (15:50 +0100)
commit5ffbbcfa160b2e689dfb0542dfdbc4e16fc0dec9
tree3b94c2d6e64faa40b677ce73bc641bc52d6ecc57
parent7a35052a2b6e32fdcbe60d668509c35b747f89a8
Drop "Lock" suffix from LWLock wait event names

Commit da952b415f44 unintentially reverted the SQL-visible part of
commit 14a910109126, which breaks queries joining pg_wait_events with
pg_stat_acivity.  Remove the suffix again.

Backpatch to 17.

Reported-by: Christophe Courtois <christophe.courtois@dalibo.com>
Author: Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Discussion: https://postgr.es/m/18728-450924477056a339%40postgresql.org
Discussion: https://postgr.es/m/Z01w1+LihtRiS0Te@ip-10-97-1-34.eu-west-3.compute.internal
src/backend/storage/lmgr/generate-lwlocknames.pl
src/backend/storage/lmgr/lwlock.c