SETOF anyelement - get_call_result_type - Mailing list pgsql-general

From Courtin Olivier
Subject SETOF anyelement - get_call_result_type
Date
Msg-id 220F28FA-ED2A-40AD-9506-1220F3D4AB98@oslandia.com
Whole thread Raw
List pgsql-general
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

pgsql-general by date:

Previous
From: Greg Smith
Date:
Subject: Re: question regarding full_page_write
Next
From: "Bob Pawley"
Date:
Subject: Re: Updating Arrays