Rename assorted LWLock tranches.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 15 May 2020 22:11:03 +0000 (18:11 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 15 May 2020 22:11:07 +0000 (18:11 -0400)
commit36ac359d3621578cefc2156a3917024cdd3b1829
treefa625d5a03040cb31284a531ccee7615bb6fb246
parenta0ab4f4909a3f52e8b8243d2ae2dbb6f5027136c
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
15 files changed:
doc/src/sgml/monitoring.sgml
src/backend/access/common/session.c
src/backend/nodes/tidbitmap.c
src/backend/replication/logical/origin.c
src/backend/replication/slot.c
src/backend/storage/buffer/buf_init.c
src/backend/storage/lmgr/lock.c
src/backend/storage/lmgr/lwlock.c
src/backend/storage/lmgr/lwlocknames.txt
src/backend/storage/lmgr/predicate.c
src/backend/storage/lmgr/proc.c
src/backend/utils/cache/typcache.c
src/include/storage/lwlock.h
src/include/storage/predicate_internals.h
src/include/storage/proc.h