On Mon, Nov 23, 2026 at 6:10 PM Rajesh Kumar Thandapani
<[email protected]> wrote:
>
> On Mon, Nov 23, 2026 at 11:43 AM Alvaro Herrera <[email protected]> wrote:
> > Hmm, so I'm inclined to do this in master only, as I don't think
> > tuplecid lists are very large generally.
>
> Targeting master only makes sense to me.
>
> Re-attaching the v1 patch here on this thread (my earlier message
> accidentally dropped In-Reply-To and started a separate thread). On top
> of Ayush's snippet and Manu's feedback, it also returns early when
> toptxn->tuplecids is empty, adds an Assert in
> ReorderBufferAddNewTupleCids() that subxid has RBTXN_HAS_CATALOG_CHANGES
> set, and adds the tuplecid_nested.spec permutation with a regular write
> in the outer savepoint.

Yeah logically it makes sense to skip scanning the tuplecid list for
every aborted subtransaction, when it has not made any catalog
changes. I will review it one more time, but at high level it looks
good.  And I think we should do this on master only.

-- 
Regards,
Dilip Kumar
Google


Reply via email to