Re: [COMMITTERS] pgsql: Allow external recovery_config_directory

From: Simon Riggs <simon(at)2ndQuadrant(dot)com>
To: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
Cc: Heikki Linnakangas <hlinnakangas(at)vmware(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [COMMITTERS] pgsql: Allow external recovery_config_directory
Date: 2013-03-27 19:08:15
Message-ID: CA+U5nMLisD4MWfa89RO+npQ9rX+BGbCW5vDYtv22sctOMkByQw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

On 27 March 2013 18:15, Fujii Masao <masao(dot)fujii(at)gmail(dot)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

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Heikki Linnakangas 2013-03-27 20:06:51 pgsql: Fix buffer pin leak in heap update redo routine.
Previous Message Michael Paquier 2013-03-27 18:16:23 Re: [COMMITTERS] pgsql: Allow external recovery_config_directory

Browse pgsql-hackers by date

  From Date Subject
Next Message Stefan Kaltenbrunner 2013-03-27 19:49:13 Re: spoonbill vs. -HEAD
Previous Message Stefan Kaltenbrunner 2013-03-27 18:54:30 Re: spoonbill vs. -HEAD