pgsql: Rename PGPROC fields related to group XID clearing again.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Rename PGPROC fields related to group XID clearing again.
Date: 2016-02-11 14:05:03
Message-ID: E1aTrrj-00064x-Q3@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/a455878d99561d4b199915ed7a7fb02f5e621710

Modified Files
--------------
src/backend/storage/ipc/procarray.c | 28 ++++++++++++++--------------
src/backend/storage/lmgr/proc.c | 8 ++++----
src/include/storage/proc.h | 14 ++++++++++----
3 files changed, 28 insertions(+), 22 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2016-02-11 14:29:56 Re: pgsql: Add some isolation tests for deadlock detection and resolution.
Previous Message Robert Haas 2016-02-11 13:44:36 pgsql: Add some isolation tests for deadlock detection and resolution.