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