Re: BUG #18830: ExecInitMerge Segfault on MERGE - Mailing list pgsql-bugs

From Amit Langote
Subject Re: BUG #18830: ExecInitMerge Segfault on MERGE
Date
Msg-id CA+HiwqH6g+AFpxczPPB-gyhbqiPqSa=V0j-_T15JomtbxpU6hA@mail.gmail.com
Whole thread Raw
In response to Re: BUG #18830: ExecInitMerge Segfault on MERGE  (Tender Wang <tndrwang@gmail.com>)
List pgsql-bugs
On Thu, Mar 13, 2025 at 4:29 PM Tender Wang <tndrwang@gmail.com> wrote:
> Dean Rasheed <dean.a.rasheed@gmail.com> 于2025年3月13日周四 03:23写道:
>> It does mean that ExecGetRangeTableRelation() needs to allow pruned
>> relations to be opened, if called from ExecInitResultRelation(). I
>> think that's OK because the check for opening pruned relations still
>> applies to scan relations.
>
> A comment in execPartition.h may need to be changed:
> * partrel                                         Partitioned table Relation; obtained by
> *                                                     ExecGetRangeTableRelation(estate, rti), where
>
> Because the func interface has changed, the above comments are better to be changed
"ExecGetRangeTableRelation(estate,rti, false)". 

Noted, thanks.

--
Thanks, Amit Langote



pgsql-bugs by date:

Previous
From: Amit Langote
Date:
Subject: Re: BUG #18830: ExecInitMerge Segfault on MERGE
Next
From: Dean Rasheed
Date:
Subject: Re: BUG #18830: ExecInitMerge Segfault on MERGE