Re: plpgsql returning resultset - Mailing list pgsql-general

From Raymond O'Donnell
Subject Re: plpgsql returning resultset
Date
Msg-id 48BD21A5.8070306@iol.ie
Whole thread Raw
In response to Re: plpgsql returning resultset  (tfinneid@student.matnat.uio.no)
Responses Re: plpgsql returning resultset  (Thomas Finneid <tfinneid@student.matnat.uio.no>)
List pgsql-general
On 02/09/2008 12:18, tfinneid@student.matnat.uio.no wrote:

> Does that work in 8.2, cause i get the same error message as I described
> above

Yep, it does..... I should have mentioned that you call your function
like this:

  select * from my_function()

- in other words, a SETOF-returning function takes the place of a table
in a SELECT statement.

Can you show us more of your code?

Ray.


------------------------------------------------------------------
Raymond O'Donnell, Director of Music, Galway Cathedral, Ireland
rod@iol.ie
Galway Cathedral Recitals: http://www.galwaycathedral.org/recitals
------------------------------------------------------------------

pgsql-general by date:

Previous
From: Ivan Sergio Borgonovo
Date:
Subject: MERGE: performance advices
Next
From: ProAce
Date:
Subject: question for upgrade pg 8.2.5 to pg 8.3.3