pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andres Freund <andres@anarazel.de>
Cc: Stephen Frost <sfrost@snowman.net>
Cc: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Cc: pgsql-hackers@postgresql.org <pgsql-hackers@postgresql.org>
Subject: Re: Remove superuser() checks from pgstattuple
Date: Sun, 04 Sep 2016 21:09:41 -0400
Message-ID: <25376.1473037781@sss.pgh.pa.us> (raw)
In-Reply-To: <20160905005919.jz2m2yh3und2dsuy@alap3.anarazel.de>
References: <20160823212243.GJ4028@tamriel.snowman.net>
	<6e01d90c-337f-fc02-2021-6520b4a099b9@2ndquadrant.com>
	<20160904154158.GN4028@tamriel.snowman.net>
	<6659.1473004506@sss.pgh.pa.us>
	<20160905005919.jz2m2yh3und2dsuy@alap3.anarazel.de>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

Andres Freund <andres@anarazel.de> writes:
> On 2016-09-04 11:55:06 -0400, Tom Lane wrote:
>> It is becoming clear that the current extension update mechanism is kind
>> of brute-force for this sort of change.  I have no ideas offhand about a
>> better way to do it, but like Peter, I was dismayed by the amount of pure
>> overhead involved in the PARALLEL SAFE updates.

> Agreed. I think one way, which a few extensions are taking, is to have a
> base version and then incremental version upgrades. Currently CREATE
> EXTENSION doesn't natively support that, so you have to concatenate the
> upgrade scripts.  I think it'd be great if we could add a 'baseversion'
> property to the extension control file. When you create a new extension,
> it'll start with the base version and then use the existing code to find
> a path to upgrade to the target version.   That also makes it a lot
> easier to actually properly test extension upgrade paths, something
> we've not really been good at.

Hm, couldn't we do that automatically?  At least in the case where only
one base-version script is available?

			regards, tom lane


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers



view thread (14+ messages)  latest in thread

Message-ID: <25376.1473037781@sss.pgh.pa.us>
Permalink:  ../25376.1473037781@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/25376.1473037781@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, andres@anarazel.de, sfrost@snowman.net, peter.eisentraut@2ndquadrant.com
  Subject: Re: Remove superuser() checks from pgstattuple
  In-Reply-To: <25376.1473037781@sss.pgh.pa.us>
  References: <20160823212243.GJ4028@tamriel.snowman.net> <6e01d90c-337f-fc02-2021-6520b4a099b9@2ndquadrant.com> <20160904154158.GN4028@tamriel.snowman.net> <6659.1473004506@sss.pgh.pa.us> <20160905005919.jz2m2yh3und2dsuy@alap3.anarazel.de> <25376.1473037781@sss.pgh.pa.us>

* 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