Re: Clean shutdown and warm standby - Mailing list pgsql-hackers

From Simon Riggs
Subject Re: Clean shutdown and warm standby
Date
Msg-id 1243519683.24860.589.camel@ebony.2ndQuadrant
Whole thread Raw
In response to Re: Clean shutdown and warm standby  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Responses Re: Clean shutdown and warm standby  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
List pgsql-hackers
On Thu, 2009-05-28 at 16:52 +0300, Heikki Linnakangas wrote:

> > If the archiver is working, but has fallen behind at the point of
> > shutdown, does the archiver operate for long enough to ensure we are
> > archived up to the point of the log switch prior to checkpoint?
> 
> Yes, it archives all pending WAL segments before exiting.

I don't think it does, please look again. 

> Ok, we're good then I guess.

No, because as I said, if archive_command has been returning non-zero
then the archive will be incomplete.

-- Simon Riggs           www.2ndQuadrant.comPostgreSQL Training, Services and Support



pgsql-hackers by date:

Previous
From: Andy Colson
Date:
Subject: Re: sun blade 1000 donation
Next
From: Tom Lane
Date:
Subject: Re: A couple of gripes about the gettext plurals patch