Remove duplicate words in comments
authorDaniel Gustafsson
Thu, 31 Oct 2024 10:38:03 +0000 (11:38 +0100)
committerDaniel Gustafsson
Thu, 31 Oct 2024 10:38:03 +0000 (11:38 +0100)
A few comments contained duplicate "the" in sentences, fix by removing
one occurrence.

Author: Vignesh C 
Discussion: https://postgr.es/m/CALDaNm2aEEiPwGJmPdzBxROVvs8n75yCjKz4K1f1B2TdWpzxTA@mail.gmail.com

src/backend/executor/execExprInterp.c
src/backend/executor/nodeBitmapHeapscan.c
src/backend/optimizer/prep/prepjointree.c
src/backend/postmaster/postmaster.c

index 6a7f18f6dedaf7fa1d2712354739b7df4bcca234..30c5a19aad6c83dabfe5239d91a7636306af6ec8 100644 (file)
@@ -4686,9 +4686,9 @@ ExecEvalJsonCoercion(ExprState *state, ExprEvalStep *op,
 
    /*
     * Prepare to call json_populate_type() to coerce the boolean result of
-    * JSON_EXISTS_OP to the target type.  If the the target type is integer
-    * or a domain over integer, call the boolean-to-integer cast function
-    * instead, because the integer's input function (which is what
+    * JSON_EXISTS_OP to the target type.  If the target type is integer or a
+    * domain over integer, call the boolean-to-integer cast function instead,
+    * because the integer's input function (which is what
     * json_populate_type() calls to coerce to scalar target types) doesn't
     * accept boolean literals as valid input.  We only have a special case
     * for integer and domains thereof as it seems common to use those types
index 337c16e6544f5dd075d3e97af560538c45a64539..689bde16dd2c17e1f7c38ff924243f3b01c50455 100644 (file)
@@ -281,7 +281,7 @@ new_page:
            break;
 
        /*
-        * If serial, we can error out if the the prefetch block doesn't stay
+        * If serial, we can error out if the prefetch block doesn't stay
         * ahead of the current block.
         */
        if (node->pstate == NULL &&
index 4d7f972caf12bf19ee73addca344452d12c1840a..33b10d72cb50c84d5bf8769cfdae8d420d6b2fc2 100644 (file)
@@ -293,7 +293,7 @@ transform_MERGE_to_join(Query *parse)
     * join (in the ModifyTable node) to distinguish between the MATCHED and
     * NOT MATCHED BY SOURCE cases -- see ExecMergeMatched().  Note that this
     * creates a modified copy of the join condition, for use above the join,
-    * without modifying the the original join condition, inside the join.
+    * without modifying the original join condition, inside the join.
     */
    if (jointype == JOIN_LEFT || jointype == JOIN_FULL)
    {
index 407f55996ba0999dd68c87ccb0f9030cc4ea840f..8bee1fb6645440d82baf85182335397613b3d3ce 100644 (file)
@@ -3145,7 +3145,7 @@ LaunchMissingBackgroundProcesses(void)
     * The checkpointer and the background writer are active from the start,
     * until shutdown is initiated.
     *
-    * (If the checkpointer is not running when we enter the the PM_SHUTDOWN
+    * (If the checkpointer is not running when we enter the PM_SHUTDOWN
     * state, it is launched one more time to perform the shutdown checkpoint.
     * That's done in PostmasterStateMachine(), not here.)
     */