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

From Oliver Elphick
Subject Re: OPAQUE and 7.2-7.3 upgrade
Date
Msg-id 1031842101.18145.7.camel@linda
Whole thread Raw
In response to Re: OPAQUE and 7.2-7.3 upgrade  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: OPAQUE and 7.2-7.3 upgrade
List pgsql-hackers
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.

-- 
Oliver Elphick                                Oliver.Elphick@lfix.co.uk
Isle of Wight, UK                            
http://www.lfix.co.uk/oliver
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839  932A 614D 4C34 3E1D 0C1C
========================================   "Let the wicked forsake his way, and the unrighteous      man his thoughts;
andlet him return unto the LORD,      and He will have mercy upon him; and to our God, for      he will abundantly
pardon."         Isaiah 55:7 
 



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: DROP COLUMN misbehaviour with multiple inheritance
Next
From: Tom Lane
Date:
Subject: Re: OPAQUE and 7.2-7.3 upgrade