On Wed, Oct 19, 2022 at 2:44 PM shiy.f...@fujitsu.com
<shiy.f...@fujitsu.com> wrote:
>
...

>
> +test_sub=# CREATE SUBSCRIPTION sub1
> +test_sub-# CONNECTION 'host=localhost dbname=test_pub'
> +test_sub-# PUBLICATION pub1
> +test_sub-# WITH (slot_name=NONE, enabled=false, create_slot=false);
> +WARNING:  subscription was created, but is not connected
> +HINT:  To initiate replication, you must manually create the replication 
> slot, enable the subscription, and refresh the subscription.
> +CREATE SUBSCRIPTION
>
> In example 3, there is actually no such warning message when creating
> subscription because "connect=false" is not specified.
>

Oh, thanks for finding and reporting that. Sorry for my cut/paste
errors. Fixed in v7. PSA,

> I have tested the examples in the patch and didn't see any problem other than
> the one above.
>

Thanks for your testing.

------
Kind Regards,
Peter Smith.
Fujitsu Australia

Attachment: v7-0001-create-subscription-pgdocs-for-deferred-slot-crea.patch
Description: Binary data

Reply via email to