Skip site navigation (1) Skip section navigation (2)

pgsql: Before removing backup_label and irrevocably changingpg_control

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Before removing backup_label and irrevocably changingpg_control
Date: 2010-10-26 18:47:39
Message-ID: E1PAoYd-0002pg-EP@gemulon.postgresql.org (view raw or flat)
Thread:
Lists: 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_4_STABLE

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

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

pgsql-committers by date

Next:From: Robert HaasDate: 2010-10-26 18:56:07
Subject: pgsql: Fix dumb typo in SECURITY LABEL error message.
Previous:From: Peter EisentrautDate: 2010-10-26 17:12:35
Subject: pgsql: Add missing newlines at end of files

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group