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: pg_dump: Dump subscriptions by default
Date: Thu, 13 Apr 2017 16:04:41 +0000
Message-ID: <E1cyhEf-0001Ga-C8@gemulon.postgresql.org> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

pg_dump: Dump subscriptions by default

Dump subscriptions if the current user is a superuser, otherwise write a
warning and skip them.  Remove the pg_dump option
--include-subscriptions.

Discussion: https://www.postgresql.org/message-id/e4fbfad5-c6ac-fd50-6777-18c84b34eb2f@2ndquadrant.com

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/c31671f9b5f6eee9b6726baad2db1795c94839d1

Modified Files
--------------
doc/src/sgml/logical-replication.sgml |  7 +++---
doc/src/sgml/ref/pg_dump.sgml         |  9 --------
src/bin/pg_dump/pg_backup.h           |  2 --
src/bin/pg_dump/pg_backup_archiver.c  |  1 -
src/bin/pg_dump/pg_dump.c             | 43 ++++++++++++++++++++++++++++++-----
src/bin/pg_dump/pg_restore.c          |  3 ---
src/bin/pg_dump/t/002_pg_dump.pl      | 24 ++++++++-----------
7 files changed, 50 insertions(+), 39 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: <E1cyhEf-0001Ga-C8@gemulon.postgresql.org>
Permalink:  ../E1cyhEf-0001Ga-C8@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1cyhEf-0001Ga-C8@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: pg_dump: Dump subscriptions by default
  In-Reply-To: <E1cyhEf-0001Ga-C8@gemulon.postgresql.org>
  References: <E1cyhEf-0001Ga-C8@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