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

From Simon Riggs
Subject Re: pg_stop_backup does not complete
Date
Msg-id 1267535983.21887.3.camel@ebony
Whole thread Raw
In response to Re: pg_stop_backup does not complete  (Greg Stark <gsstark@mit.edu>)
Responses Re: pg_stop_backup does not complete
List pgsql-hackers
On Tue, 2010-03-02 at 13:13 +0000, Greg Stark wrote:
> On Tue, Mar 2, 2010 at 9:48 AM, Simon Riggs <simon@2ndquadrant.com> wrote:
> >> > Setting archive_mode to a command that does nothing but return true, e.g. /bin/true,
> >>
> >> "return true" seems ambiguous for me. How about writing clearly
> >> "return a zero exit status" instead?
> >
> > Docs are already quite clear on that point. I think we should avoid
> > specifying it twice.
> >
> 
> Why do we disallow turning off archive_mode anyways? 

Because it is needed for safety and nobody has got around to coding the
idea of turning it on/off during normal running, which is possible, with
appropriate care.

> I understand not
> turning it on -- though even that would be nice if it "took effect
> after the next checkpoint" but turning it off should always be safe,
> no?

We don't support that behaviour in parameters.

-- Simon Riggs           www.2ndQuadrant.com



pgsql-hackers by date:

Previous
From: Greg Stark
Date:
Subject: Re: pg_stop_backup does not complete
Next
From: Greg Smith
Date:
Subject: Re: pg_stop_backup does not complete