Re: Fix "unexpected logical decoding status change" error; from concurrent logical decoding activation

From: Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com>
To: Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>
Cc: Srinath Reddy Sadipiralla <srinath2133(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Fix "unexpected logical decoding status change" error; from concurrent logical decoding activation
Date: 2026-07-27 16:39:24
Message-ID: CAD21AoAxyQHgwWg4udS1_KhuECEWyNkOsh+jODNyj66gjqV4Ug@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Jul 23, 2026 at 4:43 AM Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> wrote:
>
> On Thu, Jul 16, 2026 at 6:52 AM Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com> wrote:
> >
> > 0001 is the fix for the originally reported issue, unchanged from the
> > previous version.
> >
>
> 0001 LGTM. This is a separate fix than 0002, so we can proceed with
> the commit of this one unless you want to combine the fix for both the
> issues and want to make a single commit.

Agreed and pushed the 0001 patch.

I've updated the comments in the previous-0002 patch, please review it.

Regards,

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

Attachment Content-Type Size
v4-0001-Fix-races-between-deactivation-of-logical-decodin.patch text/x-patch 17.4 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Florin Irion 2026-07-27 16:45:08 Re: pg_plan_advice: add NO_ scan and join method tags
Previous Message Tom Lane 2026-07-27 16:33:39 Re: remove_useless_joins vs. bug #19560