From: | Peter Eisentraut <peter(at)eisentraut(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: ALTER SUBSCRIPTION ... ADD/DROP PUBLICATION |
Date: | 2021-04-06 09:56:22 |
Message-ID: | E1lTiRa-00057J-64@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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(at)hotmail(dot)com>
Author: Bharath Rupireddy <bharath(dot)rupireddyforpostgres(at)gmail(dot)com>
Discussion: https://www.postgresql.org/message-id/flat/MEYP282MB166939D0D6C480B7FBE7EFFBB6BC0(at)MEYP282MB1669(dot)AUSP282(dot)PROD(dot)OUTLOOK(dot)COM
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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Etsuro Fujita | 2021-04-06 10:15:41 | pgsql: Adjust input value to WaitEventSetWait() in ExecAppendAsyncEvent |
Previous Message | Amit Kapila | 2021-04-06 09:34:55 | Re: pgsql: Allow pgoutput to send logical decoding messages. |