SETOF anyelement - get_call_result_type
SETOF anyelement - get_call_result_type
От:
Courtin Olivier <olivier.courtin@oslandia.com>
Дата:
Hi all, I'm trying from a C function to return a SETOF anyelement, but get_call_result_type(fcinfo, NULL, &tupdesc) don't return TYPEFUNC_COMPOSITE as expected. Something i've missed ? (I know i can do it with a SETOF RECORD instead, but it leads to explicitely define the output type of each column and i want to avoid this, if possible.) Thanks in advance, -- Olivier