mirror of
https://github.com/postgres/postgres.git
synced 2025-08-28 18:48:04 +03:00
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
This commit is contained in:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user