pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter_e@gmx.net>
To: pgsql-committers@postgresql.org
Subject: pgsql: Rework the options syntax for logical replication commands
Date: Fri, 12 May 2017 13:01:57 +0000
Message-ID: <E1d9ACj-000537-JW@gemulon.postgresql.org> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

Rework the options syntax for logical replication commands

For CREATE/ALTER PUBLICATION/SUBSCRIPTION, use similar option style as
other statements that use a WITH clause for options.

Author: Petr Jelinek <petr.jelinek@2ndquadrant.com>

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/b807f59828fbc02fea612e1cbc0066c6dfa3be9b

Modified Files
--------------
doc/src/sgml/logical-replication.sgml              |   7 +-
doc/src/sgml/ref/alter_publication.sgml            |  39 ++--
doc/src/sgml/ref/alter_subscription.sgml           |  71 ++++---
doc/src/sgml/ref/create_publication.sgml           |  57 ++---
doc/src/sgml/ref/create_subscription.sgml          | 236 +++++++++++----------
src/backend/commands/publicationcmds.c             | 130 +++++-------
src/backend/commands/subscriptioncmds.c            |  42 +---
src/backend/parser/gram.y                          |  24 +--
src/bin/pg_dump/pg_dump.c                          |  36 ++--
src/bin/pg_dump/t/002_pg_dump.pl                   |  12 +-
src/bin/psql/tab-complete.c                        |  26 +--
src/include/parser/kwlist.h                        |   1 -
.../dummy_seclabel/expected/dummy_seclabel.out     |   2 +-
.../modules/dummy_seclabel/sql/dummy_seclabel.sql  |   2 +-
src/test/regress/expected/object_address.out       |   2 +-
src/test/regress/expected/publication.out          |  15 +-
src/test/regress/expected/subscription.out         |  22 +-
src/test/regress/sql/object_address.sql            |   2 +-
src/test/regress/sql/publication.sql               |  14 +-
src/test/regress/sql/subscription.sql              |  20 +-
src/test/subscription/t/001_rep_changes.pl         |   8 +-
src/test/subscription/t/002_types.pl               |   2 +-
src/test/subscription/t/003_constraints.pl         |   2 +-
src/test/subscription/t/004_sync.pl                |   2 +-
24 files changed, 358 insertions(+), 416 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


Message-ID: <E1d9ACj-000537-JW@gemulon.postgresql.org>
Permalink:  ../E1d9ACj-000537-JW@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1d9ACj-000537-JW@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_e@gmx.net
  Subject: Re: pgsql: Rework the options syntax for logical replication commands
  In-Reply-To: <E1d9ACj-000537-JW@gemulon.postgresql.org>
  References: <E1d9ACj-000537-JW@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