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