]> granicus.if.org Git - postgresql/commitdiff
Remove duplicated words in comments.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Sun, 12 Apr 2015 07:46:17 +0000 (10:46 +0300)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Sun, 12 Apr 2015 07:46:17 +0000 (10:46 +0300)
David Rowley

src/backend/replication/walsender.c
src/backend/utils/adt/array_userfuncs.c
src/backend/utils/misc/guc.c
src/bin/pg_basebackup/pg_basebackup.c

index da9ee7b3d08965eb5c78d4c39b41b3ceff72706b..4a20569e65ed9359b7378c5ec19416001b8c35be 100644 (file)
@@ -2183,9 +2183,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;
        }
index c0bfd33174c51867248d0d22927b2e1ba1e19624..4177d2da17247a314423c179c63b9b8f8117e7d0 100644 (file)
@@ -719,7 +719,7 @@ array_position_common(FunctionCallInfo fcinfo)
 
        if (PG_ARGISNULL(1))
        {
-               /* fast return when the array doesn't have have nulls */
+               /* fast return when the array doesn't have nulls */
                if (!array_contains_nulls(array))
                        PG_RETURN_NULL();
                searched_element = (Datum) 0;
@@ -871,7 +871,7 @@ array_positions(PG_FUNCTION_ARGS)
 
        if (PG_ARGISNULL(1))
        {
-               /* fast return when the array doesn't have have nulls */
+               /* fast return when the array doesn't have nulls */
                if (!array_contains_nulls(array))
                        PG_RETURN_DATUM(makeArrayResult(astate, CurrentMemoryContext));
                searched_element = (Datum) 0;
index 492c093e4dd174ec4d93c822b996ede39fce1b54..f43aff2d2cb2794a3cfce15c72759dd01ea69d73 100644 (file)
@@ -8470,7 +8470,7 @@ read_nondefault_variables(void)
  * particular postmaster.  Most PGC_INTERNAL variables are compile-time
  * constants; a few, like server_encoding and lc_ctype, are handled specially
  * outside the serialize/restore procedure.  Therefore, SerializeGUCState()
- * never sends these, and and RestoreGUCState() never changes them.
+ * never sends these, and RestoreGUCState() never changes them.
  */
 static bool
 can_skip_gucvar(struct config_generic * gconf)
index fbf7106fec5fed47d9086b7060fdc1ef4ba49f65..f2b54bc026133d93b26352c486f92247282aeca3 100644 (file)
@@ -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.
         */