Using pg_ctl promote -w in TAP tests - Mailing list pgsql-hackers

From Michael Paquier
Subject Using pg_ctl promote -w in TAP tests
Date
Msg-id CAB7nPqQOz2Cef7k-hQ6A4DQ+kjty0fs0rmj8L48FDJk_OBgv_w@mail.gmail.com
Whole thread Raw
Responses Re: Using pg_ctl promote -w in TAP tests  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
List pgsql-hackers
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

Attachment

pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: memory leak in e94568ecc10 (pre-reading in external sort)
Next
From: "Daniel Verite"
Date:
Subject: Re: proposal: psql \setfileref