postgres.git / summary / log / commit / refs

commit    ad88b2020a6846c56da591b84e2f10cd49137e42
Author:   Amit Langote <amitlan@postgresql.org>
Date:     Wed Oct 23 08:54:48 2024 +0000
First released in: 18.0, 12.21, 13.17, 14.14, 15.9, 16.5, 17.1

    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


src/backend/executor/execUtils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/executor/execUtils.c b/src/backend/executor/execUtils.c index c06b2288583..3057c0988f9 100644 --- a/src/backend/executor/execUtils.c +++ b/src/backend/executor/execUtils.c @@ -787,7 +787,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) [parent: a1e613b81aa0]