Re: unite recovery.conf and postgresql.conf - Mailing list pgsql-hackers

From Josh Berkus
Subject Re: unite recovery.conf and postgresql.conf
Date
Msg-id 4E78C99C.5010008@agliodbs.com
Whole thread Raw
In response to Re: unite recovery.conf and postgresql.conf  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
On 9/20/11 10:09 AM, Robert Haas wrote:
> I like the idea of some kind of sentinel file that tells the server to
> start up in recovery mode.  But instead of having the user remove it
> to cause a promotion, I think the server should remove it when it does
> promote.  That's more like what we've done in the past, and it ties in
> very nicely with what pg_ctl promote already does.

Yes, I agree that that is a superior approach.

And then we could keep the trigger_file configuration parameter for
backwards compatibility, with intent to depreciate it after a couple
more Postgres versions.

-- 
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: unite recovery.conf and postgresql.conf
Next
From: Tom Lane
Date:
Subject: Re: File not found error on creating collation