Re: [DOC] Update ALTER SUBSCRIPTION documentation - Mailing list pgsql-hackers

From Amit Kapila
Subject Re: [DOC] Update ALTER SUBSCRIPTION documentation
Date
Msg-id CAA4eK1K0AZeux0XmqhX77Q339A0=bov1meYFSvEaqHmBcFmG-A@mail.gmail.com
Whole thread Raw
In response to Re: [DOC] Update ALTER SUBSCRIPTION documentation  (Masahiko Sawada <sawada.mshk@gmail.com>)
Responses Re: [DOC] Update ALTER SUBSCRIPTION documentation
List pgsql-hackers
On Mon, May 8, 2023 at 1:51 PM Masahiko Sawada <sawada.mshk@gmail.com> wrote:
>
> Apart from the documentation change, given that setting slot_name =
> NONE always requires for the subscription to be disabled beforehand,
> does it make sense to change ALTER SUBSCRIPTION SET so that we disable
> the subscription when setting slot_name = NONE? Setting slot_name to a
> valid slot name doesn't enable the subscription, though.
>

I think this is worth considering. Offhand, I don't see any problem
with this idea but users may not like the automatic disabling of
subscriptions along with setting slot_name=NONE. It would be better to
discuss this in a separate thread to seek the opinion of others.

--
With Regards,
Amit Kapila.



pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: WAL Insertion Lock Improvements
Next
From: Pavel Stehule
Date:
Subject: psql tests hangs