Remove duplicated words in comments
authorMichael Paquier <michael@paquier.xyz>
Tue, 18 Feb 2020 03:20:55 +0000 (12:20 +0900)
committerMichael Paquier <michael@paquier.xyz>
Tue, 18 Feb 2020 03:20:55 +0000 (12:20 +0900)
Author: Daniel Gustafsson
Reviewed-by: Vik Fearing
Discussion: https://postgr.es/m/EBC3BFEB-664C-4063-81ED-29F1227DB012@yesql.se

src/backend/executor/nodeAgg.c
src/backend/utils/adt/jsonpath_exec.c
src/bin/pg_upgrade/version.c

index b7f49ceddf8c7258305ac144a10d831bc745c8a5..85311f2303ab7eeaacc18fbee013a8369c277419 100644 (file)
@@ -2234,8 +2234,8 @@ ExecInitAgg(Agg *node, EState *estate, int eflags)
         * The output of the tuplesort, and the output from the outer child
         * might not use the same type of slot. In most cases the child will
         * be a Sort, and thus return a TTSOpsMinimalTuple type slot - but the
-        * input can also be be presorted due an index, in which case it could
-        * be a different type of slot.
+        * input can also be presorted due an index, in which case it could be
+        * a different type of slot.
         *
         * XXX: For efficiency it would be good to instead/additionally
         * generate expressions with corresponding settings of outerops* for
index 6b9bd00bb7f4adb9e3c9658ac0d2f3730ff084dc..b6fdd474bec9eefcfe28937c51ec92c19d20b98f 100644 (file)
@@ -2517,7 +2517,7 @@ JsonbInitBinary(JsonbValue *jbv, Jsonb *jb)
 }
 
 /*
- * Returns jbv* type of of JsonbValue. Note, it never returns jbvBinary as is.
+ * Returns jbv* type of JsonbValue. Note, it never returns jbvBinary as is.
  */
 static int
 JsonbType(JsonbValue *jb)
index 48b269894838931718c926dcb379cb60c295112b..4e5d27f76eb2f4d3e037d44559f4266ca8946975 100644 (file)
@@ -156,7 +156,7 @@ check_for_data_type_usage(ClusterInfo *cluster, const char *typename,
                          "               a.atttypid = x.oid ",
                          typename);
 
-       /* Ranges came in in 9.2 */
+       /* Ranges were introduced in 9.2 */
        if (GET_MAJOR_VERSION(cluster->major_version) >= 902)
            appendPQExpBuffer(&querybuf,
                              "         UNION ALL "