pgsql: Rename assorted LWLock tranches.

Started by Tom Laneabout 6 years ago1 messagescomitters
Jump to latest
#1Tom Lane
tgl@sss.pgh.pa.us

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: /messages/by-id/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(-)