File tree 4 files changed +4
-4
lines changed
4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -2252,7 +2252,7 @@ LogicalRepApplyLoop(XLogRecPtr last_received)
2252
2252
bool requestReply = false;
2253
2253
2254
2254
/*
2255
- * Check if time since last receive from standby has reached the
2255
+ * Check if time since last receive from primary has reached the
2256
2256
* configured limit.
2257
2257
*/
2258
2258
if (wal_receiver_timeout > 0 )
Original file line number Diff line number Diff line change @@ -537,7 +537,7 @@ WalReceiverMain(void)
537
537
bool requestReply = false;
538
538
539
539
/*
540
- * Check if time since last receive from standby has
540
+ * Check if time since last receive from primary has
541
541
* reached the configured limit.
542
542
*/
543
543
if (wal_receiver_timeout > 0 )
Original file line number Diff line number Diff line change @@ -1368,7 +1368,7 @@ both B<stdout> and B<stderr> the results may be interleaved unpredictably.
1368
1368
=item on_error_stop => 1
1369
1369
1370
1370
By default, the B<psql > method invokes the B<psql > program with ON_ERROR_STOP=1
1371
- set, so SQL execution is stopped at the first error and exit code 2 is
1371
+ set, so SQL execution is stopped at the first error and exit code 3 is
1372
1372
returned. Set B<on_error_stop > to 0 to ignore errors instead.
1373
1373
1374
1374
=item on_error_die => 0
Original file line number Diff line number Diff line change 145
145
# that all segments needed are restored from the archives.
146
146
$standby1 -> poll_query_until(' postgres' ,
147
147
qq{ SELECT pg_wal_lsn_diff(pg_last_wal_replay_lsn(), '$primary_lsn ') >= 0 }
148
- ) or die " Timed out while waiting for xlog replay on standby2 " ;
148
+ ) or die " Timed out while waiting for xlog replay on standby1 " ;
149
149
150
150
$standby1 -> safe_psql(' postgres' , q{ CHECKPOINT} );
151
151
You can’t perform that action at this time.
0 commit comments