aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/backend/replication/walsender.c6
-rw-r--r--src/bin/pg_basebackup/pg_basebackup.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/backend/replication/walsender.c b/src/backend/replication/walsender.c
index 68b4f4f0e4b..50cb0048d6b 100644
--- a/src/backend/replication/walsender.c
+++ b/src/backend/replication/walsender.c
@@ -1439,9 +1439,9 @@ XLogSend(bool *caughtup)
if (sendTimeLineIsHistoric)
{
/*
- * Streaming an old timeline timeline that's in this server's history,
- * but is not the one we're currently inserting or replaying. It can
- * be streamed up to the point where we switched off that timeline.
+ * Streaming an old timeline that's in this server's history, but is
+ * not the one we're currently inserting or replaying. It can be
+ * streamed up to the point where we switched off that timeline.
*/
SendRqstPtr = sendTimeLineValidUpto;
}
diff --git a/src/bin/pg_basebackup/pg_basebackup.c b/src/bin/pg_basebackup/pg_basebackup.c
index e63bb7c53af..fb75919efcc 100644
--- a/src/bin/pg_basebackup/pg_basebackup.c
+++ b/src/bin/pg_basebackup/pg_basebackup.c
@@ -329,7 +329,7 @@ StartLogStreamer(char *startpos, uint32 timeline, char *sysidentifier)
snprintf(param->xlogdir, sizeof(param->xlogdir), "%s/pg_xlog", basedir);
/*
- * Create pg_xlog/archive_status (and thus pg_xlog) so we can can write to
+ * Create pg_xlog/archive_status (and thus pg_xlog) so we can write to
* basedir/pg_xlog as the directory entry in the tar file may arrive
* later.
*/