Re: Incrementally Updated Backups and restartpoints - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: Incrementally Updated Backups and restartpoints
Date
Msg-id 4B4DBDBD.10304@enterprisedb.com
Whole thread Raw
In response to Re: Incrementally Updated Backups and restartpoints  (Fujii Masao <masao.fujii@gmail.com>)
Responses Re: Incrementally Updated Backups and restartpoints
List pgsql-hackers
Fujii Masao wrote:
> On Wed, Jan 13, 2010 at 8:36 PM, Heikki Linnakangas
> <heikki.linnakangas@enterprisedb.com> wrote:
>> I wonder if it would be enough to document that pg_control must be
>> backed up first?
> 
> Probably No. The archive recovery from such base backup would always
> fail at the end of recovery because there is no backup-end record,
> i.e., pg_stop_backup() is not executed in that case.

No, that's not an issue. We only wait for the backup-end record if we
haven't seen yet since we started recovery from the base backup.
Assuming the standby had reached that point already before the new
backup from the standby started, backupStartLoc is zero in the control file.

--  Heikki Linnakangas EnterpriseDB   http://www.enterprisedb.com


pgsql-hackers by date:

Previous
From: Boszormenyi Zoltan
Date:
Subject: Re: lock_timeout GUC patch
Next
From: Hitoshi Harada
Date:
Subject: Re: More frame options in window functions