pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stephen Frost <sfrost@snowman.net>
To: Michael Paquier <michael.paquier@gmail.com>
Cc: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-hackers@postgresql.org <pgsql-hackers@postgresql.org>
Subject: Re: Remove superuser() checks from pgstattuple
Date: Wed, 28 Sep 2016 11:38:16 -0400
Message-ID: <20160928153816.GV5148@tamriel.snowman.net> (raw)
In-Reply-To: <CAB7nPqQApXJ+kPK2sHfyFYXLhZ2P+x0k=bwDFjUr1CudL34-=Q@mail.gmail.com>
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>
	<CAB7nPqQApXJ+kPK2sHfyFYXLhZ2P+x0k=bwDFjUr1CudL34-=Q@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

Michael,

* Michael Paquier (michael.paquier@gmail.com) wrote:
> On Tue, Sep 27, 2016 at 4:43 AM, Stephen Frost <sfrost@snowman.net> 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 install
> >> 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.
> 
> Same conclusion from here.

Fantastic, thanks for the testing!

> > Updated (much smaller) patch attached.
> 
> 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

Attachments:

  signature.asc (application/pgp-signature, 818B) download

view thread (14+ messages)

Message-ID: <20160928153816.GV5148@tamriel.snowman.net>
Permalink:  ../20160928153816.GV5148@tamriel.snowman.net/
Also on:    postgresql.org/message-id/20160928153816.GV5148@tamriel.snowman.net

 · 

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-hackers@postgresql.org
  Cc: sfrost@snowman.net, michael.paquier@gmail.com, peter.eisentraut@2ndquadrant.com, tgl@sss.pgh.pa.us
  Subject: Re: Remove superuser() checks from pgstattuple
  In-Reply-To: <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> <CAB7nPqQApXJ+kPK2sHfyFYXLhZ2P+x0k=bwDFjUr1CudL34-=Q@mail.gmail.com> <20160928153816.GV5148@tamriel.snowman.net>

* 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