Re: OPAQUE and 7.2-7.3 upgrade

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: OPAQUE and 7.2-7.3 upgrade
Дата
Msg-id 7393.1031842484@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: OPAQUE and 7.2-7.3 upgrade  (Oliver Elphick <olly@lfix.co.uk>)
Ответы Re: OPAQUE and 7.2-7.3 upgrade  (Oliver Elphick <olly@lfix.co.uk>)
Список pgsql-hackers
Oliver Elphick <olly@lfix.co.uk> writes:
> On Thu, 2002-09-12 at 15:31, Tom Lane wrote:
>> Does anyone see a cleaner answer than re-allowing OPAQUE for PL
>> handlers?

> Can't you just special case the language handlers when dumping <7.3 and
> change 'RETURNS opaque' to 'RETURNS language_handler'?  That's all that
> is needed to let them be restored OK into 7.3.

Only if people dump their old databases with 7.3 pg_dump; which is an
assumption I'd rather not make if we can avoid it.

OTOH, if we did do such a thing we could probably fix OPAQUE triggers
and datatype I/O ops too ...
        regards, tom lane


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

Предыдущее
От: Oliver Elphick
Дата:
Сообщение: Re: OPAQUE and 7.2-7.3 upgrade
Следующее
От: Michael Meskes
Дата:
Сообщение: Re: 7.3beta and ecpg