diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2020-05-15 18:11:03 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2020-05-15 18:11:07 -0400 |
commit | 36ac359d3621578cefc2156a3917024cdd3b1829 (patch) | |
tree | fa625d5a03040cb31284a531ccee7615bb6fb246 /src/backend/access/common/session.c | |
parent | a0ab4f4909a3f52e8b8243d2ae2dbb6f5027136c (diff) | |
download | postgresql-36ac359d3621578cefc2156a3917024cdd3b1829.tar.gz postgresql-36ac359d3621578cefc2156a3917024cdd3b1829.zip |
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
Diffstat (limited to 'src/backend/access/common/session.c')
-rw-r--r-- | src/backend/access/common/session.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/access/common/session.c b/src/backend/access/common/session.c index 070ece5b8fc..0ec61d48a2d 100644 --- a/src/backend/access/common/session.c +++ b/src/backend/access/common/session.c @@ -117,7 +117,7 @@ GetSessionDsmHandle(void) dsa_space = shm_toc_allocate(toc, SESSION_DSA_SIZE); dsa = dsa_create_in_place(dsa_space, SESSION_DSA_SIZE, - LWTRANCHE_SESSION_DSA, + LWTRANCHE_PER_SESSION_DSA, seg); shm_toc_insert(toc, SESSION_KEY_DSA, dsa_space); |