On Mon, Feb 29, 2016 at 4:28 PM, Michael Paquier <[email protected]> wrote: > I would suggest using > $node_standby->poll_query_until('SELECT pg_is_in_recovery()') to > validate the end of the test.
Meh. SELECT NOT pg_is_in_recovery(). This will wait until the query returns true. -- Michael -- Sent via pgsql-hackers mailing list ([email protected]) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers
