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 1267523308.20134.9327.camel@ebony
Whole thread Raw
In response to Re: pg_stop_backup does not complete  (Fujii Masao <masao.fujii@gmail.com>)
Responses Re: pg_stop_backup does not complete
List pgsql-hackers
On Tue, 2010-03-02 at 15:20 +0900, Fujii Masao wrote:
> On Fri, Feb 26, 2010 at 2:47 AM, Bruce Momjian <bruce@momjian.us> wrote:
> > Postgres 9.0 will be the first release to mention /bin/true as a way of
> > turning off archiving in extraordinary circumstances:
> >
> >        http://developer.postgresql.org/pgdocs/postgres/runtime-config-wal.html
> 
> 
> > 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.

-- Simon Riggs           www.2ndQuadrant.com



pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: WAL replay does not verify integrity
Next
From: Peter Eisentraut
Date:
Subject: Re: function side effects