Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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(-)


pgsql-committers by date

Next:From: Andrew DunstanDate: 2012-12-03 15:25:13
Subject: pgsql: Attempt to unbreak MSVC builds broken byf21bb9cfb5646e1793dcc9c
Previous:From: Peter EisentrautDate: 2012-12-03 13:02:08
Subject: pgsql: Translation updates

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group