On Sun, 25 May 2025 at 13:06, Tender Wang <tndrwang@gmail.com> wrote:
>
> For a partitioned table, we must pass rootResultRelInfo to ExecInsert(). I added the check before calling
ExecInsert()
> If it is a partitioned table, we continue to pass rootResultRelInfo. Otherwise, we pass resultRelInfo.
> Please see the attached diff file. The patch passed all regression test cases.
>
No, I don't think that's the right fix. I'm looking at it now, and I
think I have a fix, but it's more complicated than that. I'll post an
update later.
Regards,
Dean