Drop back the redundant "Lock" suffix from LWLock wait event names
Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
From: Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
To: pgsql-hackers@lists.postgresql.org
Date: 2024-12-02T08:33:27Z
Lists: pgsql-hackers
Attachments
Hi hackers, da952b415f unintentionally added back the "Lock" suffix into the LWLock wait event names: - "added back" because the "Lock" suffix was removed in 14a9101091 - "unintentionally" because there is nothing in the thread [2] that explicitly mentions that the idea was also to revert 14a9101091 Please find attached a patch to remove it back so that the pg_stat_activity view now reports back the LWLock without the "Lock" suffix (as pg_wait_events and the related documentation do). It has been reported in bug #18728 (see [1]). [1]: https://www.postgresql.org/message-id/flat/18728-450924477056a339%40postgresql.org [2]: https://www.postgresql.org/message-id/flat/202401231025.gbv4nnte5fmm%40alvherre.pgsql Regards, -- Bertrand Drouvot PostgreSQL Contributors Team RDS Open Source Databases Amazon Web Services: https://aws.amazon.com
Commits
-
Drop "Lock" suffix from LWLock wait event names
- 5ffbbcfa160b 17.3 landed
- 1e5ef3a2a179 18.0 landed