Re: BUG #19093: Behavioral change in walreceiver termination between PostgreSQL 14.17 and 14.18

From: xingguo <ryanzxg(at)gmail(dot)com>
To: Xuneng Zhou <xunengzhou(at)gmail(dot)com>
Cc: Michael Paquier <michael(at)paquier(dot)xyz>, Noah Misch <noah(at)leadboat(dot)com>, pgsql-bugs(at)lists(dot)postgresql(dot)org, Euler Taveira <euler(at)eulerto(dot)com>
Subject: Re: BUG #19093: Behavioral change in walreceiver termination between PostgreSQL 14.17 and 14.18
Date: 2025-11-04 09:31:24
Message-ID: CAHZOkpZSfofgpZnV1JgroTbOS7z9S45-wsvoMxj6YegxmDH1Vg@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Hi Xuneng and Michael,

Thank you so much for the quick response and for fixing the issue. I saw
that the commit has already been merged into master.

I’d like to ask whether this fix will be included in the patch release for
version 14 - specifically 14.20. I noticed the commit mentions
Backpatch-through: 13, and I want to confirm whether that means the fix
will be backpatched to version 13 and all subsequent supported versions.

Thanks again!

Best regards,
Xingguo

Xuneng Zhou <xunengzhou(at)gmail(dot)com>于2025年11月4日 周二17:01写道:

> Hi, Michael!
>
> On Tue, Nov 4, 2025 at 12:52 PM Michael Paquier <michael(at)paquier(dot)xyz>
> wrote:
> >
> > On Sat, Nov 01, 2025 at 08:44:55AM +0800, Xuneng Zhou wrote:
> > > On Sat, Nov 1, 2025 at 8:17 AM Michael Paquier <michael(at)paquier(dot)xyz>
> wrote:
> > >> Thanks, that looks sensible. I'll revisit what you have at the
> > >> beginning of next week (local Tuesday) with a backpatch down to v13 in
> > >> mind. If others have comments and/or objections, please feel free to
> > >> chime in.
> > >
> > > It's an oversight. Thanks for catching it.
> >
> > Phew, done.
>
> Thanks for pushing the patches!
>
> > While looking at the whole thing, I was wondering if we
> > should strengthen a little bit what's expected of the context for some
> > of the callers of the WAL routines, like XLogShutdownWalRcv(), and
> > finished with the bonus patch attached. What do you think?
>
> The change LGTM — it ensures that the walreceiver’s lifecycle is
> orchestrated entirely by the startup process.
>
> Best,
> Xuneng
>

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Michael Paquier 2025-11-04 09:48:42 Re: BUG #19093: Behavioral change in walreceiver termination between PostgreSQL 14.17 and 14.18
Previous Message Xuneng Zhou 2025-11-04 09:01:46 Re: BUG #19093: Behavioral change in walreceiver termination between PostgreSQL 14.17 and 14.18