pgsql: Refactor inCommit flag into generic delayChkpt flag.

From: Simon Riggs <simon(at)2ndQuadrant(dot)com>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Refactor inCommit flag into generic delayChkpt flag.
Date: 2012-12-03 13:15:54
Message-ID: E1TfVsI-0002Yx-3I@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Refactor inCommit flag into generic delayChkpt flag.
Rename PGXACT->inCommit flag into delayChkpt flag,
and generalise comments to allow use in other situations,
such as the forthcoming potential use in checksum patch.
Replace wait loop to look for VXIDs with delayChkpt set.
No user visible changes, not behaviour changes at present.

Simon Riggs, reviewed and rebased by Jeff Davis

Branch
------
master

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

Modified Files
--------------
src/backend/access/transam/twophase.c | 16 +++---
src/backend/access/transam/xact.c | 8 +-
src/backend/access/transam/xlog.c | 28 ++++++---
src/backend/storage/ipc/procarray.c | 99 +++++++++++++++++---------------
src/backend/storage/lmgr/proc.c | 4 +-
src/include/storage/proc.h | 3 +-
src/include/storage/procarray.h | 4 +-
7 files changed, 89 insertions(+), 73 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andrew Dunstan 2012-12-03 15:25:13 pgsql: Attempt to unbreak MSVC builds broken by f21bb9cfb5646e1793dcc9c
Previous Message Peter Eisentraut 2012-12-03 13:02:08 pgsql: Translation updates