Re: [COMMITTERS] pgsql: Allow external recovery_config_directory - Mailing list pgsql-hackers

From Simon Riggs
Subject Re: [COMMITTERS] pgsql: Allow external recovery_config_directory
Date
Msg-id CA+U5nMLisD4MWfa89RO+npQ9rX+BGbCW5vDYtv22sctOMkByQw@mail.gmail.com
Whole thread Raw
In response to Re: [COMMITTERS] pgsql: Allow external recovery_config_directory  (Fujii Masao <masao.fujii@gmail.com>)
List pgsql-hackers
On 27 March 2013 18:15, Fujii Masao <masao.fujii@gmail.com> wrote:

> This patch breaks also pg_ctl promote because it always checks the existence of
> $PGDATA/recovery.conf.

You're right. It does. Good catch.

That also suggest a solution: create a status file called
$PGDATA/recovery_in_progress which would then allow pg_ctl and
everybody else to be able to see that the server is currently in
recovery.

-- Simon Riggs                   http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training & Services



pgsql-hackers by date:

Previous
From: Stefan Kaltenbrunner
Date:
Subject: Re: spoonbill vs. -HEAD
Next
From: Stefan Kaltenbrunner
Date:
Subject: Re: spoonbill vs. -HEAD