Re: Returning row or rows from function?

From: Tomasz Myrta <jasiek(at)klaster(dot)net>
To: ddurst(at)larubber(dot)com
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: Returning row or rows from function?
Date: 2003-01-13 18:48:53
Message-ID: 3E230A15.306@klaster.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

David Durst wrote:

> I want to create a function that will return
> a row or rows of a table is this possible?
>
> If so can someone replay with a complete example?

I propose you reading a document of Stephan Szabo about functions
returning sets. You need postgresql 7.3 to do this.
http://techdocs.postgresql.org/guides/SetReturningFunctions

Tomasz Myrta

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message dev 2003-01-13 19:30:25 Re: Crosstab-style query in pure SQL
Previous Message Josh Berkus 2003-01-13 18:45:50 Re: to_date confusion