Re: 8.1 Out parameter question - Mailing list pgsql-general

From Michael Fuhr
Subject Re: 8.1 Out parameter question
Date
Msg-id 20050629133629.GA31602@winnie.fuhr.org
Whole thread Raw
In response to 8.1 Out parameter question  (Tony Caduto <tony_caduto@amsoftwaredesign.com>)
List pgsql-general
On Tue, Jun 28, 2005 at 02:39:59PM -0500, Tony Caduto wrote:
> Will it be possible to use the out params to return more than one row?
>
> will the params act as a composite type so they can be used in a set
> returning function?

See "RETURN NEXT" in the PL/pgSQL chapter of the development
documentation:

http://developer.postgresql.org/docs/postgres/plpgsql-control-structures.html#PLPGSQL-STATEMENTS-RETURNING

See also the example I posted and Alvaro's comments in the following
message from a few weeks ago:

http://archives.postgresql.org/pgsql-general/2005-06/msg00389.php

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/

pgsql-general by date:

Previous
From: David Gagnon
Date:
Subject: Explain Analyse never returns .. maybe a bug
Next
From: "Sean Davis"
Date:
Subject: Re: Explain Analyse never returns .. maybe a bug