Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-interfaces by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group