Re: RETURN NEXT on result set

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Scott Ribe <scott_ribe(at)killerbytes(dot)com>
Cc: Postgres General <pgsql-general(at)postgresql(dot)org>
Subject: Re: RETURN NEXT on result set
Date: 2007-09-26 23:09:02
Message-ID: 20070926230902.GN8572@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Scott Ribe wrote:
> Feature request: allow some way to "return next" a set of values. Usage:
> recursive stored procedures to walk a tree. Example: given a table, find all
> tables that inherit from it.

There is a new RETURN QUERY in 8.3 that may be what you want.

--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2007-09-26 23:57:02 Re: PQntuples return type
Previous Message Diego Gil 2007-09-26 23:08:55 Re: datestyle question