Re: BUG #19556: Segmentation fault in test_decoding

From: Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com>
To: Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>
Cc: a(dot)kozhemyakin(at)postgrespro(dot)ru, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #19556: Segmentation fault in test_decoding
Date: 2026-07-23 18:24:19
Message-ID: CAD21AoBZrwQSx7cbv-BApv2hfDR3pmOsFbwpy5wVtWpW1+rVzw@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Wed, Jul 22, 2026 at 11:50 PM Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> wrote:
>
> On Thu, Jul 23, 2026 at 7:47 AM Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com> wrote:
> >
> > Thank you for the patch. I like the approach the proposed patch does.
> > I've made a patch for PG18+ that fixes both issues with regression
> > tests. For PG17 or earlier, the patch doesn't need the changes in
> > ReorderBufferPrepare() but has the same regression tests.
> >
>
> The patch LGTM. One minor point: Shall we retain the earlier comments
> (We send the prepare for the concurrently aborted xacts so that later
> when rollback prepared is decoded and sent, the downstream should be
> able to rollback such a xact. See comments atop DecodePrepare.)? This
> makes it clear why we are sending prepare for concurrent abort cases.

Thank you for reviewing the 0001 patch! Yes, I agree to retain the
comment. I'll update the patch and push it early next week.

Regards,

--
Masahiko Sawada
Amazon Web Services: https://aws.amazon.com

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Thom Brown 2026-07-23 19:03:24 Re: BUG #19575: Enhancement for Redundant DISTINCT in set-operation branches
Previous Message Andrey Borodin 2026-07-23 17:27:00 Re: BUG #19576: startup process hangs indefinitely replaying MultiXact/CREATE_ID record