Re: 8.1 Out parameter question

From: Michael Fuhr <mike(at)fuhr(dot)org>
To: Tony Caduto <tony_caduto(at)amsoftwaredesign(dot)com>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: 8.1 Out parameter question
Date: 2005-06-29 13:36:29
Message-ID: 20050629133629.GA31602@winnie.fuhr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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/

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Sean Davis 2005-06-29 13:38:36 Re: Explain Analyse never returns .. maybe a bug
Previous Message David Gagnon 2005-06-29 13:25:24 Explain Analyse never returns .. maybe a bug