Re: 7.2 functions that return multiple result sets?

From: Ian Barwick <barwick(at)gmx(dot)net>
To: "mail(dot)luckydigital(dot)com" <james(dot)cooper(at)luckydigital(dot)com>, <pgsql-sql(at)postgresql(dot)org>
Subject: Re: 7.2 functions that return multiple result sets?
Date: 2003-02-06 22:53:55
Message-ID: 200302062353.55824.barwick@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On Sunday 02 February 2003 22:45, mail.luckydigital.com wrote:
> Can some one please confirm( with a plpgsql function example please ) a
> postgres "7.2" function that can return multiple rows to the client.
>
> I've gone through the docs and can't find anything to support this -it
> seems you can only have one return value or null.
>
> Yes i'm aware this it is possible in 7.3 - can someone please confirm its
> not possible in 7.2 or provide me with an example of how to go about it.

IIRC this is a new feature in 7.3, see:

http://www.postgresql.org/docs/view.php?version=7.3&idoc=0&file=release.html

"Allow functions to return multiple rows (table functions) (Joe)"

Ian Barwick
barwick(at)gmx(dot)net

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Josh Berkus 2003-02-06 23:02:40 Re: Automatic casting
Previous Message Tom Lane 2003-02-06 20:29:58 Re: numeric when compared to literal