Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit73aae45

Browse files
committed
Correct behavior descriptions in comments, and correct a test name.
1 parentd6abfdf commit73aae45

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

‎src/backend/replication/logical/worker.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2252,7 +2252,7 @@ LogicalRepApplyLoop(XLogRecPtr last_received)
22522252
boolrequestReply= false;
22532253

22542254
/*
2255-
* Check if time since last receive fromstandby has reached the
2255+
* Check if time since last receive fromprimary has reached the
22562256
* configured limit.
22572257
*/
22582258
if (wal_receiver_timeout>0)

‎src/backend/replication/walreceiver.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -537,7 +537,7 @@ WalReceiverMain(void)
537537
boolrequestReply= false;
538538

539539
/*
540-
* Check if time since last receive fromstandby has
540+
* Check if time since last receive fromprimary has
541541
* reached the configured limit.
542542
*/
543543
if (wal_receiver_timeout>0)

‎src/test/perl/PostgresNode.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1368,7 +1368,7 @@ both B<stdout> and B<stderr> the results may be interleaved unpredictably.
13681368
=itemon_error_stop => 1
13691369
13701370
By default, theB<psql> method invokes theB<psql> program with ON_ERROR_STOP=1
1371-
set, so SQL execution is stopped at the first error and exit code2 is
1371+
set, so SQL execution is stopped at the first error and exit code3 is
13721372
returned. SetB<on_error_stop> to 0 to ignore errors instead.
13731373
13741374
=itemon_error_die => 0

‎src/test/recovery/t/020_archive_status.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@
145145
# that all segments needed are restored from the archives.
146146
$standby1->poll_query_until('postgres',
147147
qq{ SELECT pg_wal_lsn_diff(pg_last_wal_replay_lsn(), '$primary_lsn') >= 0}
148-
)ordie"Timed out while waiting for xlog replay onstandby2";
148+
)ordie"Timed out while waiting for xlog replay onstandby1";
149149

150150
$standby1->safe_psql('postgres',q{CHECKPOINT});
151151

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp