pgsql: recoveryStopsHere() must check the resource manager ID.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: recoveryStopsHere() must check the resource manager ID.
Date: 2011-04-18 12:27:59
Message-ID: E1QBnYd-0001LK-Fk@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

recoveryStopsHere() must check the resource manager ID.

Before commit c016ce728139be95bb0dc7c4e5640507334c2339, this wasn't
needed, but now that multiple resource manager IDs can percolate down
through here, we have to make sure we know which one we've got.
Otherwise, we can confuse (for example) an XLOG_XACT_COMMIT record
with an XLOG_CHECKPOINT_SHUTDOWN record.

Review by Jaime Casanova

Branch
------
master

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

Modified Files
--------------
src/backend/access/transam/xlog.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andrew Dunstan 2011-04-18 13:28:30 pgsql: Attempt to remedy buildfarm breakage caused by commit f536d4194.
Previous Message Tom Lane 2011-04-17 22:09:39 pgsql: Fix assorted infelicities in collation handling in psql's descri