Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aoDt1-0008NQ-58 for pgsql-hackers@arkaria.postgresql.org; Thu, 07 Apr 2016 17:38:31 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1aoDt0-0007Kb-Nb for pgsql-hackers@arkaria.postgresql.org; Thu, 07 Apr 2016 17:38:30 +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 1aoDsy-0007Fm-SD for pgsql-hackers@postgreSQL.org; Thu, 07 Apr 2016 17:38:29 +0000 Received: from tamriel.snowman.net ([2001:4830:167b::11]) by makus.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aoDsw-0007TQ-2N for pgsql-hackers@postgreSQL.org; Thu, 07 Apr 2016 17:38:27 +0000 Received: by tamriel.snowman.net (Postfix, from userid 1000) id 0AB045F798; Thu, 7 Apr 2016 13:38:25 -0400 (EDT) Date: Thu, 7 Apr 2016 13:38:24 -0400 From: Stephen Frost To: Tom Lane Cc: pgsql-hackers@postgreSQL.org Subject: Re: [COMMITTERS] pgsql: In pg_dump, include pg_catalog and extension ACLs, if changed Message-ID: <20160407173824.GK10850@tamriel.snowman.net> References: <8985.1460050231@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="JqtTuO3XTyKM6PLB" Content-Disposition: inline In-Reply-To: <8985.1460050231@sss.pgh.pa.us> X-Editor: Vim http://www.vim.org/ X-Info: http://www.snowman.net X-Operating-System: Linux/3.13.0-77-generic (x86_64) X-Uptime: 13:32:57 up 44 days, 14:25, 12 users, load average: 0.03, 0.04, 0.05 User-Agent: Mutt/1.5.21 (2010-09-15) X-Pg-Spam-Score: -2.9 (--) 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 --JqtTuO3XTyKM6PLB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Tom, * Tom Lane (tgl@sss.pgh.pa.us) wrote: > It'd be possible to fix (1) by adding "drop if exists", but I think the > whole thing is wrongheaded due to (2). Perhaps the needs of the test > could be met by granting/revoking some rights explicitly to current_user > (ie, the test superuser)? That wouldn't have any real effects on a > superuser, but it would provide some grist for testing the behavior. Sure, I can do that. > Or you could test this behavior in some other setting than the core > regression tests; perhaps in a TAP test for pg_dump. I have to admit that I'm not terrible familiar with setting that up, but will take a look at it. This is what I'd really like to have as we have far too little testing of pg_dump in the test suite. Thanks! Stephen --JqtTuO3XTyKM6PLB Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJXBpsQAAoJEO1sijiDR2RVhvoP/RkSpiVLu+3uq0qrbS4Am+28 OaxVTWhH+jzDFAUUctDCJ9Zyjsgdkth0JDdw0BqBNyMnwKM9XM8FzwO4KxQ/sNpt 1qPZkYjwAgBzkJC0qhtv/j7R5PwRP7XyHCNS+J08tJbfCLt8+W5meLuLLPU0rCmj 6TL2/ZmN5w4KylUSOAgnMNICqSskGjNJT1hU0ZW5EWXd+5cPPDx3NqcjptXk4LpX 4cZ21UT0mj4IgSYFCUhfJLQaw7lQlfvGi2+XqHJa6uFiqcgewDRvukmqs79wvBha hymZApfNdDAJYlyh4MZHHxoQPf76IHlKXGlkpGa1D0sIbrmammufLt/8HODJg0Bf vLFJ02xXVn+poqSEYIBq+xt/K2C0g/nKTL1Kwf+VteCeY8rbKzEkHBkEw4t3xMQx GSQNNmxi5RWAVUSunAxIDM/2h9WRnWCaaZQr/1sysPn/kpT3t2U4LxDNmHJU/e7e CSTv0PNoCJWeB1LsIeUIRC7wKbRMJv48vIelgWTJT7KWBywNL9GLFIHvBPCL7g9M kCJ3zdKGpY0IAEslS6iNsyR++yQVIEYXmpEYpUVn40AyP6/+7ODIMxvtWEFE5QWa XJ8rrS63iKdJ3pgInX8ZOGE8zY2UuRzbhvLCuX0IIO3bNuldtzORco7yMrWiQNL0 S8H/bIkZGDmE1jX3OP1S =4eEF -----END PGP SIGNATURE----- --JqtTuO3XTyKM6PLB--