From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Drop the redundant "Lock" suffix from LWLock wait event names. |
Date: | 2020-05-15 23:56:08 |
Message-ID: | E1jZkBU-0001Zu-8t@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Drop the redundant "Lock" suffix from LWLock wait event names.
This was mostly confusing, especially since some wait events in
this class had the suffix and some did not.
While at it, stop exposing MainLWLockNames[] as a globally visible
name; any code using that directly is almost certainly wrong, as
its name has been misleading for some time.
(GetLWLockIdentifier() is what to use instead.)
Discussion: https://postgr.es/m/28683.1589405363@sss.pgh.pa.us
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/14a91010912632cae322b06fce0425faedcf7353
Modified Files
--------------
doc/src/sgml/monitoring.sgml | 88 ++++++++++++------------
src/backend/storage/lmgr/generate-lwlocknames.pl | 8 ++-
src/backend/storage/lmgr/lwlock.c | 5 +-
src/include/storage/lwlock.h | 1 -
4 files changed, 53 insertions(+), 49 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Alvaro Herrera | 2020-05-16 00:02:19 | pgsql: Fix walsender error cleanup code |
Previous Message | Tom Lane | 2020-05-15 23:06:05 | pgsql: Fix bogus initialization of replication origin shared memory sta |