aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAmit Langote <amitlan@postgresql.org>2024-10-23 17:54:48 +0900
committerAmit Langote <amitlan@postgresql.org>2024-10-23 17:55:24 +0900
commitaf4e342034d6dd17cf843612e37facabc70d3c34 (patch)
tree00e4bb6f6d3c499bee673eab6358d15692418a2d /src
parent335501fb2b8007000d8c154628065355b5cd4366 (diff)
downloadpostgresql-af4e342034d6dd17cf843612e37facabc70d3c34.tar.gz
postgresql-af4e342034d6dd17cf843612e37facabc70d3c34.zip
Remove unnecessary word in a comment
Relations opened by the executor are only closed once in ExecCloseRangeTableRelations(), so the word "again" in the comment for ExecGetRangeTableRelation() is misleading and unnecessary. Discussion: https://postgr.es/m/CA+HiwqHnw-zR+u060i3jp4ky5UR0CjByRFQz50oZ05de7wUg=Q@mail.gmail.com Backpatch-through: 12
Diffstat (limited to 'src')
-rw-r--r--src/backend/executor/execUtils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/executor/execUtils.c b/src/backend/executor/execUtils.c
index 3a4368385df..60a9c6dd116 100644
--- a/src/backend/executor/execUtils.c
+++ b/src/backend/executor/execUtils.c
@@ -782,7 +782,7 @@ ExecInitRangeTable(EState *estate, List *rangeTable)
* ExecGetRangeTableRelation
* Open the Relation for a range table entry, if not already done
*
- * The Relations will be closed again in ExecEndPlan().
+ * The Relations will be closed in ExecEndPlan().
*/
Relation
ExecGetRangeTableRelation(EState *estate, Index rti)