Re: SEGFAULT on a concurrent UPDATE of mix of local and foreign partitions - Mailing list pgsql-bugs

From Heikki Linnakangas
Subject Re: SEGFAULT on a concurrent UPDATE of mix of local and foreign partitions
Date
Msg-id 540a2616-c32d-47b2-0d6c-ad62b66ba937@iki.fi
Whole thread Raw
In response to Re: SEGFAULT on a concurrent UPDATE of mix of local and foreign partitions  ("Andrey V. Lepikhov" <a.lepikhov@postgrespro.ru>)
List pgsql-bugs
On 10/08/2021 12:18, Andrey V. Lepikhov wrote:
> On 8/10/21 1:29 AM, Heikki Linnakangas wrote:
>> Does it ever make sense to re-evaluate a direct Foreign Update as part
>> of EvalPlanQual? It doesn't seem sane to me, you cannot just run an
>> UPDATE statement again and expect it to be idempotent. So I think it
>> would make sense skip this during EvalPlanQual processing altogether.
>> And no need to call the FDW's Begin/EndDirectModify functions either.
> Agree. It is my first dive into the EPQ code. After studying i think
> this makes no sense.

Pushed the fix to master and v14. Thanks for the report!

- Heikki



pgsql-bugs by date:

Previous
From: vilarion@illarion.org
Date:
Subject: Re: BUG #17142: COPY ignores client_encoding for octal digit characters
Next
From: "Zhéxué M. @Study"
Date:
Subject: Postgresql - Service hangs....