Re: plpgsql returning resultset

From: Raymond O'Donnell <rod(at)iol(dot)ie>
To: tfinneid(at)student(dot)matnat(dot)uio(dot)no
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: plpgsql returning resultset
Date: 2008-09-02 11:21:09
Message-ID: 48BD21A5.8070306@iol.ie
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 02/09/2008 12:18, tfinneid(at)student(dot)matnat(dot)uio(dot)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(at)iol(dot)ie
Galway Cathedral Recitals: http://www.galwaycathedral.org/recitals
------------------------------------------------------------------

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message ProAce 2008-09-02 12:07:13 question for upgrade pg 8.2.5 to pg 8.3.3
Previous Message Ivan Sergio Borgonovo 2008-09-02 11:19:34 MERGE: performance advices