Re: Unexpected Standby Shutdown on sync_replication_slots change - Mailing list pgsql-bugs

From Fujii Masao
Subject Re: Unexpected Standby Shutdown on sync_replication_slots change
Date
Msg-id CAHGQGwFd1Lajx3kr2dRo=wJGF90m4tcEAXoW3s45RQpk+Sb0YQ@mail.gmail.com
Whole thread Raw
In response to Re: Unexpected Standby Shutdown on sync_replication_slots change  (Xuneng Zhou <xunengzhou@gmail.com>)
Responses Re: Unexpected Standby Shutdown on sync_replication_slots change
List pgsql-bugs
On Sat, Aug 2, 2025 at 1:28 PM Xuneng Zhou <xunengzhou@gmail.com> wrote:
> This fix does feel more like an enhancement to user feedback and
> safety nets, not a correction of a broken or unsafe code path. Unable
> to start up with the same settings for it might cause
> more-than-necessary surprise.

Agreed.

At first, since there seems to be rough consensus on applying the current patch
(which prevents unexpected shutdown while the server is running),
I've pushed it to master and back-patched it to v17.

As for the follow-up change that prevents the server from starting with
an invalid configuration, let's continue the discussion. I've attached
the patch and agree it's a good fit for master. However, I'm afraid
it's too late to include it in v18, as beta2 has already been released
and this change is more of an improvement than a bug fix.

Regards,

--
Fujii Masao

Attachment

pgsql-bugs by date:

Previous
From: Daniil Davydov
Date:
Subject: Re: BUG #16961: Could not access status of transaction
Next
From: PG Bug reporting form
Date:
Subject: BUG #19009: Empty repomd.xml.asc file on pgdg16 mirror causes metadata retrieval failure