pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Amit Kapila <akapila@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Raise a WARNING for missing publications.
Date: Thu, 31 Mar 2022 03:09:22 +0000
Message-ID: <E1nZlBa-0005mF-4r@gemulon.postgresql.org> (raw)

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/8f2e2bbf145384784bad07a96d461c6bbd91f597

Modified Files
--------------
doc/src/sgml/ref/alter_subscription.sgml  |   4 +-
doc/src/sgml/ref/create_subscription.sgml |   7 ++
src/backend/commands/subscriptioncmds.c   | 133 +++++++++++++++++++++++++-----
src/test/subscription/t/007_ddl.pl        |  37 +++++++++
4 files changed, 160 insertions(+), 21 deletions(-)



Message-ID: <E1nZlBa-0005mF-4r@gemulon.postgresql.org>
Permalink:  ../E1nZlBa-0005mF-4r@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1nZlBa-0005mF-4r@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: akapila@postgresql.org
  Subject: Re: pgsql: Raise a WARNING for missing publications.
  In-Reply-To: <E1nZlBa-0005mF-4r@gemulon.postgresql.org>
  References: <E1nZlBa-0005mF-4r@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox