SETOF anyelement - get_call_result_type

Поиск
Список
Период
Сортировка
От Courtin Olivier
Тема SETOF anyelement - get_call_result_type
Дата
Msg-id 220F28FA-ED2A-40AD-9506-1220F3D4AB98@oslandia.com
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Greg Smith
Дата:
Сообщение: Re: question regarding full_page_write
Следующее
От: "Bob Pawley"
Дата:
Сообщение: Re: Updating Arrays