Drop "Lock" suffix from LWLock wait event names
Álvaro Herrera <alvherre@alvh.no-ip.org>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/storage/lmgr/generate-lwlocknames.pl | modified | +1 −0 |
| src/backend/storage/lmgr/lwlock.c | modified | +2 −2 |
Discussion
- Drop back the redundant "Lock" suffix from LWLock wait event names 3 messages · 2024-12-02 → 2024-12-03
- BUG #18728: Inconsistency between pg_wait_events.name and pg_stat_activity.wait_event for LWLocks 3 messages · 2024-11-27 → 2024-12-02