expert : SRF returning double[]

Поиск
Список
Период
Сортировка
От Rémi Cura
Тема expert : SRF returning double[]
Дата
Msg-id CAJvUf_vzcUzHWGOj1-v7JWUv2cWD7HKu7v4Xy4e-CcJYape88g@mail.gmail.com
обсуждение исходный текст
Ответы Re: expert : SRF returning double[]
Список pgsql-general
Hey list,

another tricky C function interface problem :

How to write a set returning function, that returns for each row an array?

it seems like the main function SRF_RETURN_NEXT takes Datum and so I can't use PG_RETURN_ARRAYTYPE_P().

Shall I encapsulate the array into a composite field (only 1 field : the double array)

I looked a lot for an example wihtout success.

Help greatly appreciated,

thanks,

Cheers,
Rémi-C

В списке pgsql-general по дате отправления:

Предыдущее
От: Gavin Flower
Дата:
Сообщение: Re: Need Help to implement Proximity search feature
Следующее
От: Rémi Cura
Дата:
Сообщение: Re: expert : SRF returning double[]