aboutsummaryrefslogtreecommitdiff
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:54:48 +0900
commit55e6d712aff83587c2e06899a794c52fbfb415f6 (patch)
tree114afb7bbee63cb7cf0b317d337db1bdf5bc3b3b
parenta0bff38d133ac95fb56bbd868a128bba95ec46c9 (diff)
downloadpostgresql-55e6d712aff83587c2e06899a794c52fbfb415f6.tar.gz
postgresql-55e6d712aff83587c2e06899a794c52fbfb415f6.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
-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 6712302ec8c..740e8fb1486 100644
--- a/src/backend/executor/execUtils.c
+++ b/src/backend/executor/execUtils.c
@@ -758,7 +758,7 @@ ExecInitRangeTable(EState *estate, List *rangeTable, List *permInfos)
* 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)