Re: can external C-function get multiple rows?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: alexey(at)price(dot)ru
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: can external C-function get multiple rows?
Date: 2001-04-26 14:41:21
Message-ID: 15925.988296081@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

Alexey Nalbat <alexey(at)price(dot)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

In response to

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Tom Lane 2001-04-26 14:55:40 Re: c-function returning multiple rows
Previous Message J. T. Vermeulen 2001-04-26 13:22:14 Re: MS Windows libpq++