Re: Turning recovery.conf into GUCs

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: Turning recovery.conf into GUCs
Дата
Msg-id 54AC8A9F.1010109@agliodbs.com
обсуждение исходный текст
Ответ на Re: Turning recovery.conf into GUCs  (Alex Shulgin <ash@commandprompt.com>)
Список 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 по дате отправления:

Предыдущее
От: Amit Langote
Дата:
Сообщение: Re: Possible typo in create_policy.sgml
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: Updating copyright notices to 2015 for PGDG