Re: Function to promote standby servers

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Function to promote standby servers
Дата
Msg-id 20181025004751.GA5902@paquier.xyz
обсуждение исходный текст
Ответ на Re: Function to promote standby servers  (Michael Paquier <michael@paquier.xyz>)
Ответы Re: Function to promote standby servers
Re: Function to promote standby servers
Список pgsql-hackers
On Wed, Oct 24, 2018 at 08:50:43AM +0900, Michael Paquier wrote:
> On Tue, Oct 23, 2018 at 09:42:16AM +0200, Laurenz Albe wrote:
> > No objections from me; on the contrary, I would like to thank you for
> > your effort here.  I appreciate that you probably spent more time
> > tutoring me than it would have taken you to write this yourself.
>
> You're welcome.  Happy that it helped.

And committed.  I double-checked the code, and tweaked a bit the tests
so as the test using wait_mode = false is removed as it did not seem
worth the extra cycles.  I also added a check on the return value of
pg_promote when using the wait mode.  Another thing was that the
function needs to be parallel-restricted.
--
Michael

Вложения

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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Large writable variables
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: Log timestamps at higher resolution