Re: contrib loose ends: 9.0 to 9.1 incompatibilities

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: contrib loose ends: 9.0 to 9.1 incompatibilities
Дата
Msg-id AANLkTi=H5g8NWKUi6OAQTYkH_1j7dVF-DhrHfnRRbkPL@mail.gmail.com
обсуждение исходный текст
Ответ на contrib loose ends: 9.0 to 9.1 incompatibilities  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Wed, Feb 16, 2011 at 12:24 PM, Heikki Linnakangas
<heikki.linnakangas@enterprisedb.com> wrote:
> On 16.02.2011 19:17, Robert Haas wrote:
>>
>> The trouble is that we have no mechanism for conditional logic in
>> upgrade scripts,...
>
> Can't you put a DO-block there? It's not pretty, but should work..

Tom has repeatedly objected to that solution on the grounds that
someone could DROP LANGUAGE plpgsql.

In practice, I am sure many third-party extensions will do just that
if we don't provide suitable core infrastructure, but not pretty
definitely covers it.

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


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Sync Rep for 2011CF1
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: contrib loose ends: 9.0 to 9.1 incompatibilities