Re: pg_ctl promote wait

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: pg_ctl promote wait
Дата
Msg-id 56D39F40.4060802@gmx.net
обсуждение исходный текст
Ответ на Re: pg_ctl promote wait  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: pg_ctl promote wait  (Michael Paquier <michael.paquier@gmail.com>)
Список pgsql-hackers
On 2/19/16 3:09 PM, Tom Lane wrote:
> I see no need for an additional mechanism.  Just watch pg_control until
> you see DB_IN_PRODUCTION state there, then switch over to the same
> connection probing that "pg_ctl start -w" uses.

Here is a patch set around that idea.

The subsequent discussion mentioned that there might still be a window
between end of waiting and when read-write queries would be accepted.  I
don't know how big that window would be in practice and would be
interested in some testing and feedback.

Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Jim Nasby
Дата:
Сообщение: Improve error handling in pltcl
Следующее
От: Joe Conway
Дата:
Сообщение: Re: Proposal: SET ROLE hook