Re: issue with synchronized_standby_slots - Mailing list pgsql-hackers

From Alexander Kukushkin
Subject Re: issue with synchronized_standby_slots
Date
Msg-id CAFh8B=mvArv+=JtvNdx-KnddoMo_x02ZuO093+sT5WT7PZPooA@mail.gmail.com
Whole thread Raw
In response to Re: issue with synchronized_standby_slots  (Shlok Kyal <shlok.kyal.oss@gmail.com>)
List pgsql-hackers
Hi,

On Wed, 10 Sept 2025 at 13:34, Shlok Kyal <shlok.kyal.oss@gmail.com> wrote:
I think we should also add a parsing check for slot names specified in
the GUC synchronize_standby_slots as suggested by Amit in [1].
I made the changes in the above for the same and attached the updated patch.

I agree, validating that list contains valid replication slot names is a good idea.
However, you used ReplicationSlotValidateName() function, which is not a good fit for it, especially when it is called with elevel=ERROR in postmaster. 

--
Regards,
--
Alexander Kukushkin

pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: NOT NULL NOT ENFORCED
Next
From: Chao Li
Date:
Subject: Re: GB18030-2022 Support in PostgreSQL