Re: SUBSCRIPTIONS and pg_upgrade

Peter Eisentraut <peter.eisentraut@2ndquadrant.com>

From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: Petr Jelinek <petr.jelinek@2ndquadrant.com>, Michael Paquier <michael.paquier@gmail.com>
Cc: Noah Misch <noah@leadboat.com>, Robert Haas <robertmhaas@gmail.com>, Stephen Frost <sfrost@snowman.net>, "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>
Date: 2017-05-09T15:00:53Z
Lists: pgsql-hackers
On 5/9/17 04:54, Petr Jelinek wrote:
>> I think that it would be nice to fix that even before beta, so
>> attached is a patch to add --no-subscriptions to pg_dump, pg_dumpall
>> and pg_restore.
> 
> Looks okay to me, it's simple enough patch.

Committed, thanks.

(There was some inconsistent variable naming no_subscription vs
no_subscriptions, which I sorted out.)

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


Commits

  1. pg_dump: Always dump subscriptions NOCONNECT

  2. pg_dump: Dump subscriptions by default