Re: pg_stop_backup does not complete - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: pg_stop_backup does not complete
Date
Msg-id 201002251637.o1PGbNI23127@momjian.us
Whole thread Raw
In response to Re: pg_stop_backup does not complete  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
List pgsql-hackers
Heikki Linnakangas wrote:
> Josh Berkus wrote:
> > OK, can you go through the reasons why pg_stop_backup would not
> > complete?  
> 
> pg_stop_backup() doesn't complete until all the WAL segments needed to
> restore from the backup are archived. If archive_command is failing,
> that never happens.

Yes, very old behavior allowed people to think they had a full backup
when the WAL files needed were not all archived, which was a bad thing. 
Thankfully no one reported catastrophic failure from the old behavior.

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.comPG East:  http://www.enterprisedb.com/community/nav-pg-east-2010.do + If your life is a hard
drive,Christ can be your backup. +
 


pgsql-hackers by date:

Previous
From: Fujii Masao
Date:
Subject: Re: Streaming replication and pg_xlogfile_name()
Next
From: Richard Huxton
Date:
Subject: plperl.on_init - bug or just me?