From: Tom Lane <tgl@sss.pgh.pa.us>
To: alexey@price.ru
Cc: pgsql-interfaces@postgresql.org
Subject: Re: can external C-function get multiple rows?
Date: Thu, 26 Apr 2001 10:41:21 -0400
Message-ID: <15925.988296081@sss.pgh.pa.us> (raw)
In-Reply-To: <01042320014100.09239@workshop.price.ru>
References: <01042320014100.09239@workshop.price.ru>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: tgl@sss.pgh.pa.us, alexey@price.ru
Subject: Re: can external C-function get multiple rows?
In-Reply-To: <15925.988296081@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox