Hello Zsolt,

On Thu, Dec 3, 2026 at 5:55 PM Zsolt Parragi <[email protected]>
wrote:

Thank you so much for review and feedback.


> 1. CREATE SUBSCRIPTION none CONNECTION '...' PUBLICATION p WITH
> (connect = false);
>
> This is a not-so realistic corner case, but for this case restore
> still doesn't work even with the patch.
>

Right, and it doesn't even fail. v2 rejects "none" as the default slot name
too.

>
> 2.
>
> +WARNING:  subscriptions created by regression test cases should have
> names starting with "regress_"
>

Renamed it to "regress_TestSub", and the reserved name and "none"
tests now run with client_min_messages = ERROR.


>
> 3.
> Another nitpick: the CREATE SUBSCRIPTION / the user didn't specify any
> slot name. Maybe this could have a detail explaining that? 'The
> subscription name is used as the replication slot name when slot_name
> is not specified' or something like that.


> 4. Should the documentation be also updated to mention this?
>

Added the DETAIL and updated the slot_name description in
CREATE SUBSCRIPTION.

Thanks,
Baji Shaik

Attachment: v2-0001-Validate-the-default-slot-name-in-CREATE-SUBSCRIP.patch
Description: Binary data

Reply via email to