Re: PL/pgSQL and SETOF - Mailing list pgsql-general

From Merlin Moncure
Subject Re: PL/pgSQL and SETOF
Date
Msg-id b42b73150712031137w713073c7q5f95b3a85e99f6d3@mail.gmail.com
Whole thread Raw
In response to Re: PL/pgSQL and SETOF  ("Pavel Stehule" <pavel.stehule@gmail.com>)
Responses Re: PL/pgSQL and SETOF
List pgsql-general
On Nov 30, 2007 1:18 PM, Pavel Stehule <pavel.stehule@gmail.com> wrote:
> On 30/11/2007, Cultural Sublimation <cultural_sublimation@yahoo.com> wrote:
> > But still on that subject: is my version of get_items2 the simplest
> > that is possible in PL/pgSQL?  It seems awfully verbose compared to
> > the SQL version...
> >
>
> no. Your simplest version is historic relict and is available only in
> sql language. I am not sure, maybe in C language too.

It is extremely useful to be able call functions in this way.  I
really wish it were possible to do this with pl/sql functions as
well...

merlin

pgsql-general by date:

Previous
From: Cesar Alvarez
Date:
Subject: Re: Transaction problem
Next
From: Pascal Cohen
Date:
Subject: Re: HA and Replication - how to choose among all the available solutions