Re: Returning row or rows from function? - Mailing list pgsql-sql

From Tomasz Myrta
Subject Re: Returning row or rows from function?
Date
Msg-id 3E230A15.306@klaster.net
Whole thread Raw
In response to Returning row or rows from function?  ("David Durst" <ddurst@larubber.com>)
List 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



pgsql-sql by date:

Previous
From: Stephan Szabo
Date:
Subject: Re: Returning row or rows from function?
Next
From: Stephan Szabo
Date:
Subject: Re: to_date confusion