Re: C function accepting/returning cstring vs. text

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: C function accepting/returning cstring vs. text
Дата
Msg-id 15719.1264632395@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: C function accepting/returning cstring vs. text  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Список pgsql-hackers
Heikki Linnakangas <heikki.linnakangas@enterprisedb.com> writes:
> When the set-returning-function feature was written originally, years
> ago, the tuple at a time mode did really work tuple at a time. But it
> had issues and was axed out of the patch before it was committed, to
> keep it simple. The idea was to revisit it at some point, but it hasn't
> bothered anyone enough to fix it. It's basically "not implemented yet".

It depends on call context --- you're speaking of the nodeFunctionScan
context, but I believe an SRF called in the select targetlist will
operate in tuple-at-a-time mode if the function allows.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: make everything target
Следующее
От: "David E. Wheeler"
Дата:
Сообщение: Re: make everything target