Re: Remove superuser() checks from pgstattuple

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Remove superuser() checks from pgstattuple
Дата
Msg-id 25376.1473037781@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Remove superuser() checks from pgstattuple  (Andres Freund <andres@anarazel.de>)
Ответы Re: Remove superuser() checks from pgstattuple  (Andres Freund <andres@anarazel.de>)
Список pgsql-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



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Craig Ringer
Дата:
Сообщение: Re: [PATCH] COPY vs \copy HINT
Следующее
От: Andres Freund
Дата:
Сообщение: Re: Remove superuser() checks from pgstattuple