Remove unnecessary word in a comment
authorAmit Langote <[email protected]>
Wed, 23 Oct 2024 08:54:48 +0000 (17:54 +0900)
committerAmit Langote <[email protected]>
Wed, 23 Oct 2024 08:54:48 +0000 (17:54 +0900)
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

src/backend/executor/execUtils.c

index 6712302ec8c68d74681b2bd72aebfc18855be232..740e8fb14866d697a7c49736027217c1eca7ae0d 100644 (file)
@@ -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)