Re: bug in update tuple routing with foreign partitions - Mailing list pgsql-hackers

From Etsuro Fujita
Subject Re: bug in update tuple routing with foreign partitions
Date
Msg-id 5C7FC5D3.2050907@lab.ntt.co.jp
Whole thread Raw
In response to bug in update tuple routing with foreign partitions  (Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>)
List pgsql-hackers
Hi Amit,

(2019/03/06 18:33), Amit Langote wrote:
> I noticed a bug with how UPDATE tuple routing initializes ResultRelInfos
> to use for partition routing targets.  Specifically, the bug occurs when
> UPDATE targets include a foreign partition that is locally modified (as
> opposed to being modified directly on the remove server) and its
> ResultRelInfo (called subplan result rel in the source code) is reused for
> tuple routing:

Will look into this.

Best regards,
Etsuro Fujita



pgsql-hackers by date:

Previous
From: Etsuro Fujita
Date:
Subject: Re: Problems with plan estimates in postgres_fdw
Next
From: "Karl O. Pinc"
Date:
Subject: Re: Patch to document base64 encoding