Re: Turning recovery.conf into GUCs - Mailing list pgsql-hackers

From Josh Berkus
Subject Re: Turning recovery.conf into GUCs
Date
Msg-id 54AC8A9F.1010109@agliodbs.com
Whole thread Raw
In response to Re: Turning recovery.conf into GUCs  (Alex Shulgin <ash@commandprompt.com>)
List pgsql-hackers
On 01/06/2015 05:17 PM, Andres Freund wrote:
> A real solution to this requires more. You need to 1) disable writing
> any wal 2) force catchup of all possible standbys, including apply. Most
> importantly of the new master. This requires knowing which standbys
> exist. 3) promote new master. 4) only now allow reconnect

That can all be handled externally to PostgreSQL.  However, as long as
we have a recovery.conf file which only gets read at server start, and
at no other time, no external solution is possible.

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



pgsql-hackers by date:

Previous
From: Amit Langote
Date:
Subject: Re: Possible typo in create_policy.sgml
Next
From: Alvaro Herrera
Date:
Subject: Re: Updating copyright notices to 2015 for PGDG