Re: [GENERAL] types for C function composites

2008-09-26 Thread Tom Lane
"Merlin Moncure" <[EMAIL PROTECTED]> writes: > In a backend C function, is there any way to get the type (Probably > via TupleDesc) of a passed in composite type? Sure. The canonical example is record_out(). regards, tom lane -- Sent via pgsql-general mailing list (pgs

[GENERAL] types for C function composites

2008-09-26 Thread Merlin Moncure
In a backend C function, is there any way to get the type (Probably via TupleDesc) of a passed in composite type? I'm trying to build a generic function that does not assume the types of the composite fields...I take it this might not be possible. merlin -- Sent via pgsql-general mailing list