Re: SQL plan in functions

From: Raymond O'Donnell <rod(at)iol(dot)ie>
To: Julius Tuskenis <julius(dot)tuskenis(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: SQL plan in functions
Date: 2008-12-18 22:20:56
Message-ID: 494ACCC8.8090002@iol.ie
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 18/12/2008 12:40, Julius Tuskenis wrote:
> Yes, Raymond - I know how to return record set in function using FOR,
> but since version 8.3 there is a option - using RETURN QUERY SELECT
> something FROM somewhere;. So if it works for SELECT why should it not
> work for EXECUTE ?

Oh - I didn't know about that....so I'm afraid I don't know why it's
causing a problem for you.... :-)

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

Browse pgsql-general by date

  From Date Subject
Next Message Alan Hodgson 2008-12-18 22:52:10 Re: Postgre Tables problem
Previous Message Ketema Harris 2008-12-18 21:26:32 Re: unable to assign value to composite column in trigger