pgsql: Fix bug in early startup of Hot Standby with subtransactions. - Mailing list pgsql-committers

From Simon Riggs
Subject pgsql: Fix bug in early startup of Hot Standby with subtransactions.
Date
Msg-id E1Sd2AM-0000yS-Vr@gemulon.postgresql.org
Whole thread Raw
List 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_1_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/557433f48ad1e55ce753282f4dfb8ef3606cda8d

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


pgsql-committers by date:

Previous
From: Simon Riggs
Date:
Subject: pgsql: Fix bug in early startup of Hot Standby with subtransactions.
Next
From: Simon Riggs
Date:
Subject: pgsql: Fix bug in early startup of Hot Standby with subtransactions.