Re: MERGE issues around inheritance - Mailing list pgsql-hackers

From Dean Rasheed
Subject Re: MERGE issues around inheritance
Date
Msg-id CAEZATCVs6KeL9q38x8+zprMnAVJ_kv0KD9Yj_tTB7kuWDijO7w@mail.gmail.com
Whole thread Raw
In response to MERGE issues around inheritance  (Andres Freund <andres@anarazel.de>)
Responses Re: MERGE issues around inheritance
List pgsql-hackers
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



pgsql-hackers by date:

Previous
From: Dilip Kumar
Date:
Subject: Re: Hash table scans outside transactions
Next
From: Daniil Davydov
Date:
Subject: Re: POC: Parallel processing of indexes in autovacuum