Raise a WARNING for missing publications.
authorAmit Kapila <akapila@postgresql.org>
Thu, 31 Mar 2022 02:54:19 +0000 (08:24 +0530)
committerAmit Kapila <akapila@postgresql.org>
Thu, 31 Mar 2022 02:55:50 +0000 (08:25 +0530)
commit8f2e2bbf145384784bad07a96d461c6bbd91f597
tree7aae22301dd4913a38105b631ee6c497119c501b
parent8ac4c25a05d1e491a51d5390aaae405600e8e466
Raise a WARNING for missing publications.

When we create or alter a subscription to add publications raise a warning
for non-existent publications. We don't want to give an error here because
it is possible that users can later create the missing publications.

Author: Vignesh C
Reviewed-by: Bharath Rupireddy, Japin Li, Dilip Kumar, Euler Taveira, Ashutosh Sharma, Amit Kapila
Discussion: https://postgr.es/m/CALDaNm0f4YujGW+q-Di0CbZpnQKFFrXntikaQQKuEmGG0=Zw=Q@mail.gmail.com
doc/src/sgml/ref/alter_subscription.sgml
doc/src/sgml/ref/create_subscription.sgml
src/backend/commands/subscriptioncmds.c
src/test/subscription/t/007_ddl.pl