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:34:48
Message-ID: E1Sd29A-0000u9-4p@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
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
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/37255705399b57b2e413814799f0bc9b94fda14a

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

Browse pgsql-committers by date

  From Date Subject
Next Message Simon Riggs 2012-06-08 16:36:02 pgsql: Fix bug in early startup of Hot Standby with subtransactions.
Previous Message Robert Haas 2012-06-08 12:47:54 pgsql: When using libpq URI syntax, error out on invalid parameter name