summaryrefslogtreecommitdiff
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 121b33d2ab7..f8dd3c3cf91 100644
--- a/src/backend/replication/walsender.c
+++ b/src/backend/replication/walsender.c
@@ -2186,9 +2186,9 @@ XLogSendPhysical(void)
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 1b44d4e5b8b..6bb1ae7d08f 100644
--- a/src/bin/pg_basebackup/pg_basebackup.c
+++ b/src/bin/pg_basebackup/pg_basebackup.c
@@ -433,7 +433,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.
*/