]> granicus.if.org Git - postgresql/commit
Rename PGPROC fields related to group XID clearing again.
authorRobert Haas <rhaas@postgresql.org>
Thu, 11 Feb 2016 13:55:24 +0000 (08:55 -0500)
committerRobert Haas <rhaas@postgresql.org>
Thu, 11 Feb 2016 13:55:24 +0000 (08:55 -0500)
commita455878d99561d4b199915ed7a7fb02f5e621710
tree7e2cc9139e430b5b5a1ce6d42eef99426a67f47c
parent4c9864b9b4d87d02f07f40bb27976da737afdcab
Rename PGPROC fields related to group XID clearing again.

Commit 0e141c0fbb211bdd23783afa731e3eef95c9ad7a introduced a new
facility to reduce ProcArrayLock contention by clearing several XIDs
from the ProcArray under a single lock acquisition.  The names
initially chosen were deemed not to be very good choices, so commit
4aec49899e5782247e134f94ce1c6ee926f88e1c renamed them.  But now it
seems like we still didn't get it right.  A pending patch wants to
add similar infrastructure for batching CLOG updates, so the names
need to be clear enough to allow a new set of structure members with
a related purpose.

Amit Kapila
src/backend/storage/ipc/procarray.c
src/backend/storage/lmgr/proc.c
src/include/storage/proc.h