Hi!
For some reason I wish to write C-function for SQL which returns set of
composite type, but this type is defined function itself and composite type can
be changed from call to call. So I can't define create type by 'CREATE TYPE'
command.
It's documented (34.7.8. Returning Rows (Composite Types) from C-Language
Functions) there are only two ways to get TupleDesc: for a named relation and
based on type OID. That ways are useless in my case.
Is it possibly?
--
Teodor Sigaev E-mail: teodor(at)sigaev(dot)ru