From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Rename assorted LWLock tranches. |
Date: | 2020-05-15 22:11:20 |
Message-ID: | E1jZiY4-0000sf-7W@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Rename assorted LWLock tranches.
Choose names that fit into the conventions for wait event names
(particularly, that multi-word names are in the style MultiWordName)
and hopefully convey more information to non-hacker users than the
previous names did.
Also rename SerializablePredicateLockListLock to
SerializablePredicateListLock; the old name was long enough to cause
table formatting problems, plus the double occurrence of "Lock" seems
confusing/error-prone.
Also change a couple of particularly opaque LWLock field names.
Discussion: https://postgr.es/m/28683.1589405363@sss.pgh.pa.us
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/36ac359d3621578cefc2156a3917024cdd3b1829
Modified Files
--------------
doc/src/sgml/monitoring.sgml | 295 +++++++++++++++++-------------
src/backend/access/common/session.c | 2 +-
src/backend/nodes/tidbitmap.c | 2 +-
src/backend/replication/logical/origin.c | 2 +-
src/backend/replication/slot.c | 3 +-
src/backend/storage/buffer/buf_init.c | 2 +-
src/backend/storage/lmgr/lock.c | 62 +++----
src/backend/storage/lmgr/lwlock.c | 65 ++++---
src/backend/storage/lmgr/lwlocknames.txt | 5 +-
src/backend/storage/lmgr/predicate.c | 88 ++++-----
src/backend/storage/lmgr/proc.c | 4 +-
src/backend/utils/cache/typcache.c | 4 +-
src/include/storage/lwlock.h | 18 +-
src/include/storage/predicate_internals.h | 8 +-
src/include/storage/proc.h | 4 +-
15 files changed, 304 insertions(+), 260 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2020-05-15 23:06:05 | pgsql: Fix bogus initialization of replication origin shared memory sta |
Previous Message | Alvaro Herrera | 2020-05-15 22:09:06 | pgsql: Add comments linking pg_strftime to timestamptz_to_str |