pgsql: Before removing backup_label and irrevocably changing pg_control - Mailing list pgsql-committers

From Heikki Linnakangas
Subject pgsql: Before removing backup_label and irrevocably changing pg_control
Date
Msg-id E1PAoYd-0002ph-IB@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Before removing backup_label and irrevocably changing pg_control file, check
that WAL file containing the checkpoint redo-location can be found. This
avoids making the cluster irrecoverable if the redo location is in an earlie
WAL file than the checkpoint record.

Report, analysis and patch by Jeff Davis, with small changes by me.

Branch
------
REL8_3_STABLE

Details
-------
http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=3ad4549fc741360a6178b9bcaf2acebe5d9e8133

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


pgsql-committers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: pgsql: Before removing backup_label and irrevocably changing pg_control
Next
From: Heikki Linnakangas
Date:
Subject: pgsql: Before removing backup_label and irrevocably changing pg_control