Hi,

I noticed a couple of typos in code. "the the" should have been "the",
attached patch has the changes for the same.

Regards,
Vignesh
diff --git a/src/backend/executor/execExprInterp.c b/src/backend/executor/execExprInterp.c
index 6a7f18f6de..30c5a19aad 100644
--- a/src/backend/executor/execExprInterp.c
+++ b/src/backend/executor/execExprInterp.c
@@ -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
diff --git a/src/backend/executor/nodeBitmapHeapscan.c b/src/backend/executor/nodeBitmapHeapscan.c
index 337c16e654..689bde16dd 100644
--- a/src/backend/executor/nodeBitmapHeapscan.c
+++ b/src/backend/executor/nodeBitmapHeapscan.c
@@ -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 &&
diff --git a/src/backend/optimizer/prep/prepjointree.c b/src/backend/optimizer/prep/prepjointree.c
index 4d7f972caf..33b10d72cb 100644
--- a/src/backend/optimizer/prep/prepjointree.c
+++ b/src/backend/optimizer/prep/prepjointree.c
@@ -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)
 	{
diff --git a/src/backend/postmaster/postmaster.c b/src/backend/postmaster/postmaster.c
index 407f55996b..8bee1fb664 100644
--- a/src/backend/postmaster/postmaster.c
+++ b/src/backend/postmaster/postmaster.c
@@ -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.)
 	 */

Reply via email to