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
474
474
parameter has_streaming => 1. This is disabled by default.
475
475
476
476
Restoring 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
478
478
default.
479
479
480
480
The backup is copied, leaving the original unmodified. pg_hba.conf is
Original file line number Diff line number Diff line change 38
38
my $applname_1 = $node_standby_1 -> name;
39
39
my $applname_2 = $node_standby_2 -> name;
40
40
my $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 ';" ;
42
42
$node_master -> poll_query_until(' postgres' , $caughtup_query )
43
43
or die " Timed out while waiting for standby 1 to catch up" ;
44
44
$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 ';" ;
46
46
$node_standby_1 -> poll_query_until(' postgres' , $caughtup_query )
47
47
or die " Timed out while waiting for standby 2 to catch up" ;
48
48
You can’t perform that action at this time.
0 commit comments