From: Joe Conway <mail@joeconway.com>
To: David Durst <ddurst@la-rubber.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Returning rows from functions
Date: Wed, 10 Jul 2002 21:59:08 -0700
Message-ID: <3D2D109C.209@joeconway.com> (raw)
References: <1371.10.1.1.39.1026347861.squirrel@www.la-rubber.com>
David Durst wrote:
> I was wondering if there was a way of returning a complete row from a
> function, in reading the documentation of CREATE FUNCTION. I was under the
> impression that you could return a row by using setof, but this does not
> seem to be true.
> Can anyone help?
The short answer is "yes, but..."; see the thread at:
http://archives.postgresql.org/pgsql-interfaces/2002-06/msg00042.php
for a recent discussion about this.
HTH,
Joe
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-sql@postgresql.org
Cc: mail@joeconway.com, ddurst@la-rubber.com
Subject: Re: Returning rows from functions
In-Reply-To: <3D2D109C.209@joeconway.com>
* 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