File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -23,12 +23,12 @@ sub test_index_replay
2323 if ($server_version < 100000)
2424 {
2525 $caughtup_query =
26- " SELECT pg_current_xlog_location() <= write_location FROM pg_stat_replication WHERE application_name = '$applname ';" ;
26+ " SELECT pg_current_xlog_location() <= replay_location FROM pg_stat_replication WHERE application_name = '$applname ';" ;
2727 }
2828 else
2929 {
3030 $caughtup_query =
31- " SELECT pg_current_wal_lsn() <= write_lsn FROM pg_stat_replication WHERE application_name = '$applname ';" ;
31+ " SELECT pg_current_wal_lsn() <= replay_lsn FROM pg_stat_replication WHERE application_name = '$applname ';" ;
3232 }
3333 $node_master -> poll_query_until(' postgres' , $caughtup_query )
3434 or die " Timed out while waiting for standby 1 to catch up" ;
You can’t perform that action at this time.
0 commit comments