On Sun, Aug 27, 2017 at 6:32 PM, Petr Jelinek <petr.jeli...@2ndquadrant.com> wrote: > Attached should fix this.
+$node_master->poll_query_until('postgres', +"SELECT EXISTS (SELECT 1 FROM pg_replication_slots WHERE slot_name = 'test_slot' AND active_pid IS NULL)" +) + or die "slot never became inactive"; + $stdout_recv = $node_master->pg_recvlogical_upto( I am wondering if a similar check should actually go into pg_recvlogical_upto() instead. I tend to think that we've learned things the hard way with 3043c1dd and such. -- Michael -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers