From: Amit Langote Date: Wed, 23 Oct 2024 08:54:48 +0000 (+0900) Subject: Remove unnecessary word in a comment X-Git-Tag: REL_17_1~46 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f92f6b3db4fe40059845a9ea1f71666881deedd1;p=thirdparty%2Fpostgresql.git 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 --- diff --git a/src/backend/executor/execUtils.c b/src/backend/executor/execUtils.c index 5737f9f4ebd..d8dd36685c5 100644 --- a/src/backend/executor/execUtils.c +++ b/src/backend/executor/execUtils.c @@ -756,7 +756,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)