Re: OPAQUE and 7.2-7.3 upgrade - Mailing list pgsql-hackers

From Tom Lane
Subject Re: OPAQUE and 7.2-7.3 upgrade
Date
Msg-id 7393.1031842484@sss.pgh.pa.us
Whole thread Raw
In response to Re: OPAQUE and 7.2-7.3 upgrade  (Oliver Elphick <olly@lfix.co.uk>)
Responses Re: OPAQUE and 7.2-7.3 upgrade  (Oliver Elphick <olly@lfix.co.uk>)
List 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 by date:

Previous
From: Oliver Elphick
Date:
Subject: Re: OPAQUE and 7.2-7.3 upgrade
Next
From: Michael Meskes
Date:
Subject: Re: 7.3beta and ecpg