From: Tomasz Myrta <jasiek@klaster.net>
To: ddurst@larubber.com
Cc: pgsql-sql@postgresql.org
Subject: Re: Returning row or rows from function?
Date: Mon, 13 Jan 2003 19:48:53 +0100
Message-ID: <3E230A15.306@klaster.net> (raw)
In-Reply-To: <39394.216.86.192.34.1042093261.squirrel@www.la-rubber.com>
References: <39394.216.86.192.34.1042093261.squirrel@www.la-rubber.com>
David Durst wrote:
> I want to create a function that will return
> a row or rows of a table is this possible?
>
> If so can someone replay with a complete example?
I propose you reading a document of Stephan Szabo about functions
returning sets. You need postgresql 7.3 to do this.
http://techdocs.postgresql.org/guides/SetReturningFunctions
Tomasz Myrta
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: jasiek@klaster.net, ddurst@larubber.com
Subject: Re: Returning row or rows from function?
In-Reply-To: <3E230A15.306@klaster.net>
* 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