Re: can external C-function get multiple rows? - Mailing list pgsql-interfaces

From Tom Lane
Subject Re: can external C-function get multiple rows?
Date
Msg-id 15925.988296081@sss.pgh.pa.us
Whole thread Raw
In response to can external C-function get multiple rows?  (Alexey Nalbat <alexey@price.ru>)
Responses Re: can external C-function get multiple rows?
List 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 by date:

Previous
From: "J. T. Vermeulen"
Date:
Subject: Re: MS Windows libpq++
Next
From: Tom Lane
Date:
Subject: Re: can external C-function get multiple rows?