Re: can external C-function get multiple rows?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: can external C-function get multiple rows?
Дата
Msg-id 15925.988296081@sss.pgh.pa.us
обсуждение исходный текст
Ответ на can external C-function get multiple rows?  (Alexey Nalbat <alexey@price.ru>)
Ответы Re: can external C-function get multiple rows?  (Alex Pilosov <alex@pilosoft.com>)
Список pgsql-interfaces
Alexey Nalbat <alexey@price.ru> writes:
> So, can C-function return multiple rows?

In 7.1 it is possible to do this by using the new function-call
interface and adhering to the "functions returning sets" protocol
described in src/backend/utils/fmgr/README.

Before 7.1 there was no way --- the set-return support was a kluge
that only worked for SQL-language functions, not any other language.
        regards, tom lane


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

Предыдущее
От: "J. T. Vermeulen"
Дата:
Сообщение: Re: MS Windows libpq++
Следующее
От: Tom Lane
Дата:
Сообщение: Re: can external C-function get multiple rows?