Skip to content

Commit a10589a

Browse files
committed
Remove duplicated words in comments.
David Rowley
1 parent 83aca89 commit a10589a

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

src/backend/replication/walsender.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -2183,9 +2183,9 @@ XLogSendPhysical(void)
21832183
if (sendTimeLineIsHistoric)
21842184
{
21852185
/*
2186-
* Streaming an old timeline timeline that's in this server's history,
2187-
* but is not the one we're currently inserting or replaying. It can
2188-
* be streamed up to the point where we switched off that timeline.
2186+
* Streaming an old timeline that's in this server's history, but is
2187+
* not the one we're currently inserting or replaying. It can be
2188+
* streamed up to the point where we switched off that timeline.
21892189
*/
21902190
SendRqstPtr = sendTimeLineValidUpto;
21912191
}

src/backend/utils/adt/array_userfuncs.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -719,7 +719,7 @@ array_position_common(FunctionCallInfo fcinfo)
719719

720720
if (PG_ARGISNULL(1))
721721
{
722-
/* fast return when the array doesn't have have nulls */
722+
/* fast return when the array doesn't have nulls */
723723
if (!array_contains_nulls(array))
724724
PG_RETURN_NULL();
725725
searched_element = (Datum) 0;
@@ -871,7 +871,7 @@ array_positions(PG_FUNCTION_ARGS)
871871

872872
if (PG_ARGISNULL(1))
873873
{
874-
/* fast return when the array doesn't have have nulls */
874+
/* fast return when the array doesn't have nulls */
875875
if (!array_contains_nulls(array))
876876
PG_RETURN_DATUM(makeArrayResult(astate, CurrentMemoryContext));
877877
searched_element = (Datum) 0;

src/backend/utils/misc/guc.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -8470,7 +8470,7 @@ read_nondefault_variables(void)
84708470
* particular postmaster. Most PGC_INTERNAL variables are compile-time
84718471
* constants; a few, like server_encoding and lc_ctype, are handled specially
84728472
* outside the serialize/restore procedure. Therefore, SerializeGUCState()
8473-
* never sends these, and and RestoreGUCState() never changes them.
8473+
* never sends these, and RestoreGUCState() never changes them.
84748474
*/
84758475
static bool
84768476
can_skip_gucvar(struct config_generic * gconf)

src/bin/pg_basebackup/pg_basebackup.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ StartLogStreamer(char *startpos, uint32 timeline, char *sysidentifier)
433433
snprintf(param->xlogdir, sizeof(param->xlogdir), "%s/pg_xlog", basedir);
434434

435435
/*
436-
* Create pg_xlog/archive_status (and thus pg_xlog) so we can can write to
436+
* Create pg_xlog/archive_status (and thus pg_xlog) so we can write to
437437
* basedir/pg_xlog as the directory entry in the tar file may arrive
438438
* later.
439439
*/

0 commit comments

Comments
 (0)