Re: [PATCH]Fix pg_xact corruption from subtransaction abort after subcommit - Mailing list pgsql-hackers

From Andrey Borodin
Subject Re: [PATCH]Fix pg_xact corruption from subtransaction abort after subcommit
Date
Msg-id CF6EAF17-E137-47D5-B63E-B32D8EFE2E65@yandex-team.ru
Whole thread
Responses Re: [PATCH]Fix pg_xact corruption from subtransaction abort after subcommit
List pgsql-hackers

> On 12 Aug 2026, at 16:36, Jonathan Gonzalez V. <jonathan.abdiel@gmail.com> wrote:
>
> Probably this requires to have this test in the patch, reproducing this
> issue it's not easy. Using a test that use the callback or an injection
> point, don't know if this it's expects to be backported, if that's not
> the case probably an injection point plus a regression will be enough.

It's relatively easy with injection point generating an error in the window. PFA.
However it was not clear to me that error in this window is possible.
I did not dig into Andrey Rachitskiy's analysis yet.


Best regards, Andrey Borodin.


Attachment

pgsql-hackers by date:

Previous
From: Pierre Forstmann
Date:
Subject: Re: Avoid recalculating pgprocno in ProcArrayAdd()
Next
From: "Kevin Rocker"
Date:
Subject: Re: [PATCH] Fix vacuum_delay_point happening inside lock