Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cbJT6-0007kP-BU for pgsql-hackers@arkaria.postgresql.org; Wed, 08 Feb 2017 04:02:56 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cbJT5-00037U-Q9 for pgsql-hackers@arkaria.postgresql.org; Wed, 08 Feb 2017 04:02:55 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cbJT5-00037O-B9 for pgsql-hackers@postgresql.org; Wed, 08 Feb 2017 04:02:55 +0000 Received: from mail-lf0-f54.google.com ([209.85.215.54]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1cbJT2-0003Ku-1v for pgsql-hackers@postgresql.org; Wed, 08 Feb 2017 04:02:54 +0000 Received: by mail-lf0-f54.google.com with SMTP id z134so74670946lff.3 for ; Tue, 07 Feb 2017 20:02:52 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=tPJLUwJni/GejiQO9XWasMmps0Fo5dYm0HxUHZ3RDvo=; b=fJstG7g8T5XvgTMwGHHvjUFd/dC1oM07hvSr6uyUUiB9TuvQfXoblMbVp+TWiUQBQl OfNsntnZM3mt5QFJg/MODPe172o7EO1Xo0lJQUxyP7w8J48cPIEYOCHFSQY2v+10/C7+ tAFskVdwRdYa5qC3lpyaXo2KMi3ysjhCSRaj9U7DoWelI4hVn0/6EYR5biX0z4qclCy2 LLs29nJK455dAEMAxYnWJJfIp2aZ6cDIq1F68vv70wh8nD5V2ujs4DHcjO/4+w9HFxAf hZQFpPf+2LQvSMWIr1oXv6wXWUokiWZ4KSnANwIzQ89sIez0vJQb6MgwY1/INut/Rp5j jwPw== X-Gm-Message-State: AMke39l5PP2JR3mr1/aOkb+XNWLzvm8YDMjRlmEzxt1ZaoWSLtZVIKUQyW5Urb4rC8BObUra9q9TyespV520Zg== X-Received: by 10.25.217.205 with SMTP id s74mr5689524lfi.8.1486526571457; Tue, 07 Feb 2017 20:02:51 -0800 (PST) MIME-Version: 1.0 References: <20170207201932.GH9812@tamriel.snowman.net> <9314263d-f331-3ef0-a127-0c475f133914@2ndquadrant.com> In-Reply-To: <9314263d-f331-3ef0-a127-0c475f133914@2ndquadrant.com> From: Stephen Frost Date: Wed, 08 Feb 2017 04:02:40 +0000 Message-ID: Subject: Re: PUBLICATIONS and pg_dump To: Peter Eisentraut Cc: pgsql-hackers@postgresql.org Content-Type: multipart/alternative; boundary=94eb2c067a1e3db26e0547fcf004 X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org --94eb2c067a1e3db26e0547fcf004 Content-Type: text/plain; charset=UTF-8 Peter, On Tue, Feb 7, 2017 at 22:49 Peter Eisentraut < peter.eisentraut@2ndquadrant.com> wrote: > 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. Great! I've added it to the open items list for PG10. Thanks! Stephen --94eb2c067a1e3db26e0547fcf004 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Peter,

On Tue, Feb 7, 20= 17 at 22:49 Peter Eisentraut <peter.eisentraut@2ndquadrant.com> wrote:
On 2/7/17 3:19 PM, Stephen Frost wrote:
> I understand that this is a bit complicated, but I would have thought<= br class=3D"gmail_msg"> > 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 the= n 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.
Great!=C2=A0 I've added it to the open items list for= PG10.=C2=A0

Thanks!

Step= hen
--94eb2c067a1e3db26e0547fcf004--