pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: Stephen Frost <sfrost@snowman.net>
Cc: pgsql-hackers@postgresql.org
Subject: Re: PUBLICATIONS and pg_dump
Date: Tue, 7 Feb 2017 22:49:28 -0500
Message-ID: <9314263d-f331-3ef0-a127-0c475f133914@2ndquadrant.com> (raw)
In-Reply-To: <20170207201932.GH9812@tamriel.snowman.net>
References: <E1cUZpa-0003IB-37@gemulon.postgresql.org>
	<20170207201932.GH9812@tamriel.snowman.net>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

On 2/7/17 3:19 PM, Stephen Frost wrote:
> I understand that this is a bit complicated, but I would have thought
> we'd do something similar to what is done for DEFAULT PRIVILEGES, where
> we include the "global" default privileges when we are doing a dump of
> "everything", but if we're dumping a specific schema then we only
> include the default privileges directly associated with that schema.
> 
> Perhaps we need to include publications which are specific to a
> particular table, but the current logic of, essentially, "always include
> all publications" does not seem to make a lot of sense to me.

I think it would be sensible to refine it along those lines.

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


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



view thread (5+ messages)  latest in thread

Message-ID: <9314263d-f331-3ef0-a127-0c475f133914@2ndquadrant.com>
Permalink:  ../9314263d-f331-3ef0-a127-0c475f133914@2ndquadrant.com/
Also on:    postgresql.org/message-id/9314263d-f331-3ef0-a127-0c475f133914@2ndquadrant.com

 · 

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@2ndquadrant.com, sfrost@snowman.net, pgsql-hackers@postgresql.org
  Subject: Re: PUBLICATIONS and pg_dump
  In-Reply-To: <9314263d-f331-3ef0-a127-0c475f133914@2ndquadrant.com>
  References: <E1cUZpa-0003IB-37@gemulon.postgresql.org> <20170207201932.GH9812@tamriel.snowman.net> <9314263d-f331-3ef0-a127-0c475f133914@2ndquadrant.com>

* 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