Using pg_ctl promote -w in TAP tests

Поиск
Список
Период
Сортировка
Искать

Using pg_ctl promote -w in TAP tests

От:
Michael Paquier <michael.paquier@gmail.com>
Дата:
Вложения:
Hi all,

Now that we have support for the wait mode of pg_ctl promote, I think
that it would be a good idea to switch to it in the TAP tests. This
allows avoiding extra logic with poll_query_until() to be sure that a
promoted standby is ready for read-write queries.
See the patch attached.

Thanks,
-- 
Michael

Re: Using pg_ctl promote -w in TAP tests

От:
Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Дата:
On 10/10/16 8:37 AM, Michael Paquier wrote:
> Now that we have support for the wait mode of pg_ctl promote, I think
> that it would be a good idea to switch to it in the TAP tests. This
> allows avoiding extra logic with poll_query_until() to be sure that a
> promoted standby is ready for read-write queries.
> See the patch attached.

committed

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


FAQ