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

Appearance settings

Commit 73aae45

Browse filesBrowse files
committed
Correct behavior descriptions in comments, and correct a test name.
1 parent d6abfdf commit 73aae45
Copy full SHA for 73aae45

File tree

Expand file treeCollapse file tree

4 files changed

+4
-4
lines changed
Filter options
Expand file treeCollapse file tree

4 files changed

+4
-4
lines changed

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

Copy file name to clipboardExpand all lines: src/backend/replication/logical/worker.c
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2252,7 +2252,7 @@ LogicalRepApplyLoop(XLogRecPtr last_received)
22522252
bool requestReply = false;
22532253

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

‎src/backend/replication/walreceiver.c

Copy file name to clipboardExpand all lines: src/backend/replication/walreceiver.c
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -537,7 +537,7 @@ WalReceiverMain(void)
537537
bool requestReply = false;
538538

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

‎src/test/perl/PostgresNode.pm

Copy file name to clipboardExpand all lines: src/test/perl/PostgresNode.pm
+1-1Lines 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
=item on_error_stop => 1
13691369
13701370
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
13721372
returned. Set B<on_error_stop> to 0 to ignore errors instead.
13731373
13741374
=item on_error_die => 0

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

Copy file name to clipboardExpand all lines: src/test/recovery/t/020_archive_status.pl
+1-1Lines 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-
) or die "Timed out while waiting for xlog replay on standby2";
148+
) or die "Timed out while waiting for xlog replay on standby1";
149149

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

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.