summaryrefslogtreecommitdiff
path: root/src/backend/replication
diff options
context:
space:
mode:
authorNoah Misch2020-12-13 04:12:25 +0000
committerNoah Misch2020-12-13 04:12:25 +0000
commit73aae4522b35125c4f9a506842a69336ec5d0f1b (patch)
tree443930abe0c8b2a88bd3ea35132385fd0b5404bd /src/backend/replication
parentd6abfdf84ef7c01d98d04f486fb467a4aec83804 (diff)
Correct behavior descriptions in comments, and correct a test name.
Diffstat (limited to 'src/backend/replication')
-rw-r--r--src/backend/replication/logical/worker.c2
-rw-r--r--src/backend/replication/walreceiver.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/replication/logical/worker.c b/src/backend/replication/logical/worker.c
index 8c7fad8f741..d29c0c5a559 100644
--- a/src/backend/replication/logical/worker.c
+++ b/src/backend/replication/logical/worker.c
@@ -2252,7 +2252,7 @@ LogicalRepApplyLoop(XLogRecPtr last_received)
bool requestReply = false;
/*
- * Check if time since last receive from standby has reached the
+ * Check if time since last receive from primary has reached the
* configured limit.
*/
if (wal_receiver_timeout > 0)
diff --git a/src/backend/replication/walreceiver.c b/src/backend/replication/walreceiver.c
index 87c3ea450e9..9621c8d0efe 100644
--- a/src/backend/replication/walreceiver.c
+++ b/src/backend/replication/walreceiver.c
@@ -537,7 +537,7 @@ WalReceiverMain(void)
bool requestReply = false;
/*
- * Check if time since last receive from standby has
+ * Check if time since last receive from primary has
* reached the configured limit.
*/
if (wal_receiver_timeout > 0)