pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Rename assorted LWLock tranches.
Date: Fri, 15 May 2020 22:11:20 +0000
Message-ID: <E1jZiY4-0000sf-7W@gemulon.postgresql.org> (raw)

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(-)



Message-ID: <E1jZiY4-0000sf-7W@gemulon.postgresql.org>
Permalink:  ../E1jZiY4-0000sf-7W@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1jZiY4-0000sf-7W@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Rename assorted LWLock tranches.
  In-Reply-To: <E1jZiY4-0000sf-7W@gemulon.postgresql.org>
  References: <E1jZiY4-0000sf-7W@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox