From c3316a3b8dccf4d9cd17d66f1984bf7d4ce38fa9 Mon Sep 17 00:00:00 2001 From: Amit Langote Date: Wed, 23 Oct 2024 17:54:48 +0900 Subject: [PATCH] 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 b74b0684b39..7f82ac12b9c 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) -- 2.39.5