| From: | Andrey Borodin <x4mmm(at)yandex-team(dot)ru> |
|---|---|
| To: | "Jonathan Gonzalez V(dot)" <jonathan(dot)abdiel(at)gmail(dot)com> |
| Cc: | Bryan Green <dbryan(dot)green(at)gmail(dot)com>, pgsql-hackers mailing list <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
| Subject: | Re: [PATCH]Fix pg_xact corruption from subtransaction abort after subcommit |
| Date: | 2026-08-12 14:39:10 |
| Message-ID: | CF6EAF17-E137-47D5-B63E-B32D8EFE2E65@yandex-team.ru |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
> On 12 Aug 2026, at 16:36, Jonathan Gonzalez V. <jonathan(dot)abdiel(at)gmail(dot)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 | Content-Type | Size |
|---|---|---|
| 0001-Demonstrate-the-data-corruption-from-a-subtransactio.patch | application/octet-stream | 9.8 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Kevin Rocker | 2026-08-12 14:46:25 | Re: [PATCH] Fix vacuum_delay_point happening inside lock |
| Previous Message | Pierre Forstmann | 2026-08-12 14:37:30 | Re: Avoid recalculating pgprocno in ProcArrayAdd() |