1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-28 23:42:10 +03:00

Fix v10 back-patch of 076a3c2112.

This commit is contained in:
Noah Misch
2018-09-08 17:47:05 -07:00
parent f998b177dd
commit aa6d0114c4

View File

@ -561,7 +561,8 @@ e|{e,d}
# which needs an active snapshot in order to operate.
$node_publisher->safe_psql('postgres', "INSERT INTO tst_dom_constr VALUES (11)");
$node_publisher->wait_for_catchup($appname);
$node_publisher->poll_query_until('postgres', $caughtup_query)
or die "Timed out while waiting for subscriber to catch up";
$result =
$node_subscriber->safe_psql('postgres', "SELECT sum(a) FROM tst_dom_constr");