
How can I get a TupleDesc for the return type of a non-SR function that 
returns a tuple? I'm sure it's there somewhere but I just can't see it.

thanks

andrew

Sun, 18 Jul 2004 20:30:45 -0400
Andrew Dunstan <andrew@dunslane.net>
function return type
Andrew Dunstan <andrew@dunslane.net> writes:
> How can I get a TupleDesc for the return type of a non-SR function that 
> returns a tuple? I'm sure it's there somewhere but I just can't see it.

What do you have available to identify the type?

If you know the type OID, then (in CVS tip) I'd recommend the typcache.c
function lookup_rowtype_tupdesc().

			regards, tom lane

Mon, 19 Jul 2004 10:40:35 -0400
Tom Lane <tgl@sss.pgh.pa.us>
Re: function return type 