On Fri, Mar 28, 2025 at 10:46 AM Hayato Kuroda (Fujitsu)
<kuroda.hayato@fujitsu.com> wrote:
>
> > The problem here is that after ALTER SUBSCRIPTION tap_sub SET
> > PUBLICATION ..., we didn't wait for the new walsender on publisher to
> > start. We must use wait_for_subscription_sync both after the "CREATE
> > SUBSCRIPTION ..." and the "ALTER SUBSCRIPTION ..." commands and keep
> > copy_data=true to ensure the initial replication is setup between
> > publisher and subscriber. This is how we use these commands at other
> > places.
>
> Agreed. PSA the patch to fix the issue.
>
Pushed after slight modification.
--
With Regards,
Amit Kapila.