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

pgsql: Fix bug in early startup of Hot Standby with subtransactions.

From: Simon Riggs <simon(at)2ndQuadrant(dot)com>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix bug in early startup of Hot Standby with subtransactions.
Date: 2012-06-08 16:36:25
Message-ID: E1Sd2Aj-0000yo-I7@gemulon.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Fix bug in early startup of Hot Standby with subtransactions.
When HS startup is deferred because of overflowed subtransactions, ensure
that we re-initialize KnownAssignedXids for when both existing and incoming
snapshots have non-zero qualifying xids.

Fixes bug #6661 reported by Valentine Gogichashvili.

Analysis and fix by Andres Freund

Branch
------
REL9_0_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/9d091e05464d075a7dc4943ee51ae7e4b1ebf13c

Modified Files
--------------
src/backend/storage/ipc/procarray.c |   32 +++++++++++++++++++++++++++++++-
1 files changed, 31 insertions(+), 1 deletions(-)

pgsql-committers by date

Next:From: Simon RiggsDate: 2012-06-09 15:36:38
Subject: pgsql: Add ERROR msg for GLOBAL/LOCAL TEMP is not yet implemented
Previous:From: Simon RiggsDate: 2012-06-08 16:36:02
Subject: pgsql: Fix bug in early startup of Hot Standby with subtransactions.

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