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

From Philip Warner
Subject Re: OPAQUE and 7.2-7.3 upgrade
Date
Msg-id 5.1.0.14.0.20020913133632.0668d8c0@mail.rhyme.com.au
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  (Philip Warner <pjw@rhyme.com.au>)
Re: OPAQUE and 7.2-7.3 upgrade  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
At 11:27 PM 12/09/2002 -0400, Tom Lane wrote:
>You mean hardwire the names "plpgsql_language_handler", etc, as being
>ones that should return such-and-such instead of OPAQUE?

No; I actually mean modifying the function definition macros 
(PG_FUNCTION_INFO etc) to allow function definitions to (optionally) 
include return type (at least for builtin types with fixed IDs) - they 
already define the invocation method etc, so it does not seem a big stretch 
to add a return type ID.

Not all functions would need to use these, but when a user defines a 
function they could be checked. And in the case of the plpgsql handlers, 
they would of course be defined.



----------------------------------------------------------------
Philip Warner                    |     __---_____
Albatross Consulting Pty. Ltd.   |----/       -  \
(A.B.N. 75 008 659 498)          |          /(@)   ______---_
Tel: (+61) 0500 83 82 81         |                 _________  \
Fax: (+61) 0500 83 82 82         |                 ___________ |
Http://www.rhyme.com.au          |                /           \|                                 |    --________--
PGP key available upon request,  |  /
and from pgp5.ai.mit.edu:11371   |/



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: DROP COLUMN misbehaviour with multiple inheritance
Next
From: Alvaro Herrera
Date:
Subject: btree page merging