pgsql: If we don't have a backup-end-location, don't claim we've reache - Mailing list pgsql-committers

From Heikki Linnakangas
Subject pgsql: If we don't have a backup-end-location, don't claim we've reache
Date
Msg-id E1TdhUT-0006ZY-4U@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
If we don't have a backup-end-location, don't claim we've reached it.

This was apparently a typo, which caused recovery to think that it
immediately reached the end of backup, and allowed the database to start
up too early.

Reported by Jeff Janes. Backpatch to 9.2, where this code was introduced.

Branch
------
REL9_2_STABLE

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

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


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Add explicit casts in ilist.h's inline functions.
Next
From: Heikki Linnakangas
Date:
Subject: pgsql: If we don't have a backup-end-location, don't claim we've reache