Re: Returning rows from functions

From: Joe Conway <mail(at)joeconway(dot)com>
To: David Durst <ddurst(at)la-rubber(dot)com>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: Returning rows from functions
Date: 2002-07-11 04:59:08
Message-ID: 3D2D109C.209@joeconway.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Ian Barwick 2002-07-11 06:38:27 Re: Insert Function
Previous Message Josh Berkus 2002-07-11 03:22:00 Re: BETWEEN bug?