On Wed, Oct 23, 2024 at 5:29 PM Amit Langote <amitlangot...@gmail.com> wrote: > I think we should apply the attached which does this: > > --- 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)
Pushed in all branches. -- Thanks, Amit Langote