pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: ALTER SUBSCRIPTION ... ADD/DROP PUBLICATION
Date: Tue, 06 Apr 2021 09:56:22 +0000
Message-ID: <E1lTiRa-00057J-64@gemulon.postgresql.org> (raw)

ALTER SUBSCRIPTION ... ADD/DROP PUBLICATION

At present, if we want to update publications in a subscription, we
can use SET PUBLICATION.  However, it requires supplying all
publications that exists and the new publications.  If we want to add
new publications, it's inconvenient.  The new syntax only supplies the
new publications.  When the refresh is true, it only refreshes the new
publications.

Author: Japin Li <japinli@hotmail.com>
Author: Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Discussion: https://www.postgresql.org/message-id/flat/MEYP282MB166939D0D6C480B7FBE7EFFBB6BC0@MEYP282MB1669.AUSP...

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/82ed7748b710e3ddce3f7ebc74af80fe4869492f

Modified Files
--------------
doc/src/sgml/ref/alter_subscription.sgml   |  19 +++-
src/backend/commands/subscriptioncmds.c    | 177 +++++++++++++++++++++++++----
src/backend/parser/gram.y                  |  22 +++-
src/bin/psql/tab-complete.c                |  12 +-
src/include/nodes/parsenodes.h             |   4 +-
src/test/regress/expected/subscription.out |  39 +++++++
src/test/regress/sql/subscription.sql      |  31 +++++
7 files changed, 267 insertions(+), 37 deletions(-)



Message-ID: <E1lTiRa-00057J-64@gemulon.postgresql.org>
Permalink:  ../E1lTiRa-00057J-64@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1lTiRa-00057J-64@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: peter@eisentraut.org
  Subject: Re: pgsql: ALTER SUBSCRIPTION ... ADD/DROP PUBLICATION
  In-Reply-To: <E1lTiRa-00057J-64@gemulon.postgresql.org>
  References: <E1lTiRa-00057J-64@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