File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -474,7 +474,7 @@ Streaming replication can be enabled on this node by passing the keyword
474474parameter has_streaming => 1. This is disabled by default.
475475
476476Restoring WAL segments from archives using restore_command can be enabled
477- by passiong the keyword parameter has_restoring => 1. This is disabled by
477+ by passing the keyword parameter has_restoring => 1. This is disabled by
478478default.
479479
480480The backup is copied, leaving the original unmodified. pg_hba.conf is
Original file line number Diff line number Diff line change 3838my $applname_1 = $node_standby_1 -> name;
3939my $applname_2 = $node_standby_2 -> name;
4040my $caughtup_query =
41- " SELECT pg_current_xlog_location() = write_location FROM pg_stat_replication WHERE application_name = '$applname_1 ';" ;
41+ " SELECT pg_current_xlog_location() < = write_location FROM pg_stat_replication WHERE application_name = '$applname_1 ';" ;
4242$node_master -> poll_query_until(' postgres' , $caughtup_query )
4343 or die " Timed out while waiting for standby 1 to catch up" ;
4444$caughtup_query =
45- " SELECT pg_last_xlog_replay_location() = write_location FROM pg_stat_replication WHERE application_name = '$applname_2 ';" ;
45+ " SELECT pg_last_xlog_replay_location() < = write_location FROM pg_stat_replication WHERE application_name = '$applname_2 ';" ;
4646$node_standby_1 -> poll_query_until(' postgres' , $caughtup_query )
4747 or die " Timed out while waiting for standby 2 to catch up" ;
4848
You can’t perform that action at this time.
0 commit comments