On Mon, Sep 20, 2021 at 8:54 AM intmail01 <intmail01(at)gmail(dot)com> wrote:
>
> How to use transaction in a trigger ? It seems there is no possibility to
> control transaction within function
>
>
You cannot. You don't get to introduce a transaction boundary in the
middle of a statement's execution. Not to mention what it would mean to
have transaction boundaries for deferred triggers.
David J.