summaryrefslogtreecommitdiff
path: root/src/test/subscription/t/005_encoding.pl
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/subscription/t/005_encoding.pl')
-rw-r--r--src/test/subscription/t/005_encoding.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/subscription/t/005_encoding.pl b/src/test/subscription/t/005_encoding.pl
index 42a4eee5b4..7a62e05cc6 100644
--- a/src/test/subscription/t/005_encoding.pl
+++ b/src/test/subscription/t/005_encoding.pl
@@ -10,7 +10,7 @@ sub wait_for_caught_up
my ($node, $appname) = @_;
$node->poll_query_until('postgres',
- "SELECT pg_current_wal_location() <= replay_location FROM pg_stat_replication WHERE application_name = '$appname';")
+ "SELECT pg_current_wal_lsn() <= replay_lsn FROM pg_stat_replication WHERE application_name = '$appname';")
or die "Timed out while waiting for subscriber to catch up";
}