Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bpGxd-0007WW-1h for pgsql-hackers@arkaria.postgresql.org; Wed, 28 Sep 2016 15:39:53 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bpGxc-0005KI-Kb for pgsql-hackers@arkaria.postgresql.org; Wed, 28 Sep 2016 15:39:52 +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 1bpGwE-0003I6-18 for pgsql-hackers@postgresql.org; Wed, 28 Sep 2016 15:38:26 +0000 Received: from tamriel.snowman.net ([2001:4830:167b::11]) by makus.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bpGw5-00058e-QU for pgsql-hackers@postgresql.org; Wed, 28 Sep 2016 15:38:24 +0000 Received: by tamriel.snowman.net (Postfix, from userid 1000) id 935FA5F7A3; Wed, 28 Sep 2016 11:38:16 -0400 (EDT) Date: Wed, 28 Sep 2016 11:38:16 -0400 From: Stephen Frost To: Michael Paquier Cc: Peter Eisentraut , Tom Lane , "pgsql-hackers@postgresql.org" Subject: Re: Remove superuser() checks from pgstattuple Message-ID: <20160928153816.GV5148@tamriel.snowman.net> References: <20160823212243.GJ4028@tamriel.snowman.net> <6e01d90c-337f-fc02-2021-6520b4a099b9@2ndquadrant.com> <20160904154158.GN4028@tamriel.snowman.net> <6659.1473004506@sss.pgh.pa.us> <20160904233559.GP4028@tamriel.snowman.net> <682a41e2-075a-86d7-769a-c046c2a34011@2ndquadrant.com> <20160926194347.GK5148@tamriel.snowman.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Zll6mx50Q8J7qlLQ" Content-Disposition: inline In-Reply-To: X-Editor: Vim http://www.vim.org/ X-Info: http://www.snowman.net X-Operating-System: Linux/3.13.0-91-generic (x86_64) X-Uptime: 11:37:36 up 81 days, 17:01, 16 users, load average: 0.02, 0.05, 0.05 User-Agent: Mutt/1.5.21 (2010-09-15) X-Pg-Spam-Score: -4.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 --Zll6mx50Q8J7qlLQ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Michael, * Michael Paquier (michael.paquier@gmail.com) wrote: > On Tue, Sep 27, 2016 at 4:43 AM, Stephen Frost wrote: > > * Peter Eisentraut (peter.eisentraut@2ndquadrant.com) wrote: > >> This is now being obsoleted by the later idea of allowing base installs > >> from a chain of upgrade scripts. But if your upgrade scripts contain > >> ALTER TABLE commands, you will probably still want to write base insta= ll > >> scripts that do a fresh CREATE TABLE instead. > > > > I've updated the patch to remove the new base version script and to rely > > on the changes made by Tom to install the 1.4 version and then upgrade > > to 1.5. > > > > Based on my testing, it appears to all work correctly. >=20 > Same conclusion from here. Fantastic, thanks for the testing! > > Updated (much smaller) patch attached. >=20 > I had a look at it, and it is doing the work it claims to do. So I am > marking it as "Ready for Committer". Great. I'm going to go over the whole patch closely again and will push it soon. Thanks again! Stephen --Zll6mx50Q8J7qlLQ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJX6+PoAAoJEO1sijiDR2RVlxAP/3G7+9M1r4H/SL+U2I4KqZHi PoStjmAo/F4FsTWyrWQBHuT5L1lBw4480JSDC5UFcbQRPHaSRmmLqclFwdevNNNq s0yjujdVxPVEmQs0OS0I/5lHuIUn1hNKwRH367nEmtKr017IVv5fjvnJOkYfvr++ leVWZwOinFmQ+A0A0UVJ9B63eiroKRMR7K1gCL1Jh2Qbclwijwe1rb9w6WIHIaUJ BRfHj5YpaE6lYSONWh2L4v0oGkjmSfq4J66MkdWx6lZiL13E2HBpGt7XV3FHjAY7 MQHoFKbWn4PG8O5rfnXhNT167Q5vSrb8i3xtql2WOfoyt8sYHzi9rDmJ5YLM6GS5 IoDmOMPFaZeUhmHgnAuX/E9qN0e1zwWTo97ApV/NNxF4oSGh8aQPTHtgmUf8dzHl kptedmYRqpx8E/fx6dgYj+KdsCl872cEdoijky70fMxhJQeZPNHVrdUsjDYoYfhC HIUXvM2BWKIfP6G5Xv+ydkOni3cNZUEc2ziK1FsVuFPiNUMVU2bm91H0ap1Ack15 7VUbQcfIBO6nMyhekIONT6yj0O4WwdAv3g5Q1jVweMLDGAIg4dKJT81CWNn0ADun X3sO3UK4mdOrFyypAmnibbMnYmHP9fN0Ssy7Yll1iPFVfCkvhdn6kWFSGOVwMof7 OH4PfwbeRnrSeKlPis22 =pDoT -----END PGP SIGNATURE----- --Zll6mx50Q8J7qlLQ--