Re: Inline Extension

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: Inline Extension
Дата
Msg-id CA+TgmoaCff42V5VKJbQgZmJBQezfQWYhH2RhaYjW2vWSTLTm+g@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Inline Extension  (Dimitri Fontaine <dimitri@2ndQuadrant.fr>)
Ответы Re: Inline Extension  (Dimitri Fontaine <dimitri@2ndQuadrant.fr>)
Список pgsql-hackers
On Fri, Jan 20, 2012 at 11:29 AM, Dimitri Fontaine
<dimitri@2ndquadrant.fr> wrote:
> Robert Haas <robertmhaas@gmail.com> writes:
>> peeves is that the system doesn't know how to do an install of v1.1 by
>> running the v1.0 script followed by the 1.0-1.1 upgrade script, which
>
> Did you try
>
>  CREATE EXTENSION foo FROM 1.0;

Well, yes, that works, but I'm going for what you wrote next:

> Maybe you would want the system to be able to determine the oldest
> version to start from to reach the current default_version given in the
> control file, but I guess it would be better to add another property
> like default_full_version or such (last_stop?).

Possibly that might be a better design, yes.  Especially since we
don't order version numbers intrinsically.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


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

Предыдущее
От: Marti Raudsepp
Дата:
Сообщение: Re: WIP: index support for regexp search
Следующее
От: Robert Haas
Дата:
Сообщение: Re: JSON for PG 9.2