Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cbJGG-0007At-OK for pgsql-hackers@arkaria.postgresql.org; Wed, 08 Feb 2017 03:49:40 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cbJGF-0001CX-RN for pgsql-hackers@arkaria.postgresql.org; Wed, 08 Feb 2017 03:49:39 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cbJGD-0001CF-Uh for pgsql-hackers@postgresql.org; Wed, 08 Feb 2017 03:49:38 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cbJG6-0002Gv-JR for pgsql-hackers@postgresql.org; Wed, 08 Feb 2017 03:49:36 +0000 Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 966C020963; Tue, 7 Feb 2017 22:49:29 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute7.internal (MEProxy); Tue, 07 Feb 2017 22:49:29 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= smtpout; bh=DZYqda6GgmxG1cL7Ou7ZRd2a27o=; b=hjRKtjmm8HfPYi2Zz23P tfBZwRMDf3OUqQg+CL6gy8dx87PR9b+jKLQ5IJeIy/5Y3RLsL7jQzI1CZ1di9BYk EK9o/9P7/kK95NwEN1NXka2D+fS/0t8SNK0A2ayCNPb65Pn6b7hucsVPNRcReD5K vfSoKKKT+Pm5n1Q4gCk6VL0= X-ME-Sender: X-Sasl-enc: 6jA3YxHXrn/Sb3+Ri8b2W0ynaU7ZZOSZc7mAtijqxcCx 1486525769 Received: from april.local (c-73-13-66-39.hsd1.pa.comcast.net [73.13.66.39]) by mail.messagingengine.com (Postfix) with ESMTPA id 3A0E224577; Tue, 7 Feb 2017 22:49:29 -0500 (EST) Subject: Re: PUBLICATIONS and pg_dump To: Stephen Frost References: <20170207201932.GH9812@tamriel.snowman.net> Cc: pgsql-hackers@postgresql.org From: Peter Eisentraut Organization: 2ndQuadrant Message-ID: <9314263d-f331-3ef0-a127-0c475f133914@2ndquadrant.com> Date: Tue, 7 Feb 2017 22:49:28 -0500 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: <20170207201932.GH9812@tamriel.snowman.net> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit 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 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