Re: Add TG_* vars for FOR PORTION OF - Mailing list pgsql-hackers

From Paul A Jungwirth
Subject Re: Add TG_* vars for FOR PORTION OF
Date
Msg-id CA+renyV2NRb-XZj0+wpSsHcDYQwHhQXNRp0cOGuDvO4kKJDcTg@mail.gmail.com
Whole thread
In response to Add TG_* vars for FOR PORTION OF  (Paul A Jungwirth <pj@illuminatedcomputing.com>)
List pgsql-hackers
On Sun, Sep 6, 2026 at 6:10 AM Zsolt Parragi <zsolt.parragi@percona.com> wrote:
>
> Hello!
>
> I have a generic design question: as I mentioned in [1], we also have
> a similar situation outside FOR PORTION OF when a plain update moves a
> record across partitions. Maybe we should have a detection logic that
> can answer this question in a generic way, that could be also used by
> every similar code in the future? Giving users simply the ability to
> ask "Was this before insert trigger caused by an implicit insert?",
> for example.

Thank you for the review! Since FPO was reverted from v19, I will fold
your feedback into a new submission for v20. I'm going to mark the
commitfest entry for this with as Withdrawn.

Yours,

--
Paul              ~{:-)
pj@illuminatedcomputing.com



pgsql-hackers by date:

Previous
From: Richard Guo
Date:
Subject: Re: remove_useless_joins vs. bug #19560
Next
From: shihao zhong
Date:
Subject: Re: Optimize truncation logic to reduce AccessExclusive lock impact