Re: Returning rows from functions - Mailing list pgsql-sql

From Joe Conway
Subject Re: Returning rows from functions
Date
Msg-id 3D2D109C.209@joeconway.com
Whole thread Raw
In response to Returning rows from functions  ("David Durst" <ddurst@la-rubber.com>)
List pgsql-sql
David Durst wrote:
> I was wondering if there was a way of returning a complete row from a
> function, in reading the documentation of CREATE FUNCTION. I was under the
> impression that you could return a row by using setof, but this does not
> seem to be true.
> Can anyone help?

The short answer is "yes, but..."; see the thread at:
http://archives.postgresql.org/pgsql-interfaces/2002-06/msg00042.php
for a recent discussion about this.

HTH,

Joe



pgsql-sql by date:

Previous
From: Josh Berkus
Date:
Subject: Re: BETWEEN bug?
Next
From: Ian Barwick
Date:
Subject: Re: Insert Function