Hi!

> Hello, Antonin!
>
>     if (using_subtxn)
>     {
>        RollbackAndReleaseCurrentSubTransaction();
>        MemoryContextSwitchTo(ccxt);
>        CurrentResourceOwner = cowner;
>     }
>
> IIUC memory context is already switched above:
>
>     MemoryContext ecxt = MemoryContextSwitchTo(ccxt);
>

Finally realized RollbackAndReleaseCurrentSubTransaction leaves as
with TransactionAbortContext, so, nevermind :)

Reply via email to