Re: recovery.conf location - Mailing list pgsql-hackers

From Magnus Hagander
Subject Re: recovery.conf location
Date
Msg-id AANLkTi=PC+G7xmo=Pm96aEFAs3wAyOaAxYv46Tk-qkY1@mail.gmail.com
Whole thread Raw
In response to Re: recovery.conf location  (Fujii Masao <masao.fujii@gmail.com>)
List pgsql-hackers
On Mon, Sep 27, 2010 at 08:52, Fujii Masao <masao.fujii@gmail.com> wrote:
> On Mon, Sep 27, 2010 at 10:55 AM, Robert Haas <robertmhaas@gmail.com> wrote:
>> Again, I think the real question is how to handle values that need to
>> be maintained PER SLAVE from values of which there is only one copy.
>
> Yep. One idea is to support something like "pg_ctl standby" and "pg_ctl pitr".
> If we do so, we would be able to get rid of standby_mode from recovery.conf,
> and move the others to postgresql.conf or elsewhere.

That wouldn't really help, would it? You'd just push the problem out
to the initscript that would have to keep track of which mode to go up
in, etc. And then have to put the logic right back in pg_ctl for
Windows where there is no initscript...


--
 Magnus Hagander
 Me: http://www.hagander.net/
 Work: http://www.redpill-linpro.com/


pgsql-hackers by date:

Previous
From: KaiGai Kohei
Date:
Subject: Re: security label support, revised
Next
From: Magnus Hagander
Date:
Subject: Re: recovery.conf location