aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Gustafsson <dgustafsson@postgresql.org>2024-10-31 11:38:03 +0100
committerDaniel Gustafsson <dgustafsson@postgresql.org>2024-10-31 11:38:03 +0100
commitfb7e27abfbd4e1bae44ce29f5f2c6f6d1aabb5e2 (patch)
treee5c976b367e4b04070451cc3026a8208c97e705d /src
parent2b9b8ebbf8a2f621d1cecc4db759700f9ce6ce66 (diff)
downloadpostgresql-fb7e27abfbd4e1bae44ce29f5f2c6f6d1aabb5e2.tar.gz
postgresql-fb7e27abfbd4e1bae44ce29f5f2c6f6d1aabb5e2.zip
Remove duplicate words in comments
A few comments contained duplicate "the" in sentences, fix by removing one occurrence. Author: Vignesh C <vignesh21@gmail.com> Discussion: https://postgr.es/m/CALDaNm2aEEiPwGJmPdzBxROVvs8n75yCjKz4K1f1B2TdWpzxTA@mail.gmail.com
Diffstat (limited to 'src')
-rw-r--r--src/backend/executor/execExprInterp.c6
-rw-r--r--src/backend/executor/nodeBitmapHeapscan.c2
-rw-r--r--src/backend/optimizer/prep/prepjointree.c2
-rw-r--r--src/backend/postmaster/postmaster.c2
4 files changed, 6 insertions, 6 deletions
diff --git a/src/backend/executor/execExprInterp.c b/src/backend/executor/execExprInterp.c
index 6a7f18f6ded..30c5a19aad6 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 337c16e6544..689bde16dd2 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 4d7f972caf1..33b10d72cb5 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 407f55996ba..8bee1fb6645 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.)
*/