Re: PL/pgSQL and SETOF

From: "Merlin Moncure" <mmoncure(at)gmail(dot)com>
To: "Pavel Stehule" <pavel(dot)stehule(at)gmail(dot)com>
Cc: "Cultural Sublimation" <cultural_sublimation(at)yahoo(dot)com>, "Sam Mason" <sam(at)samason(dot)me(dot)uk>, pgsql-general(at)postgresql(dot)org
Subject: Re: PL/pgSQL and SETOF
Date: 2007-12-03 19:37:59
Message-ID: b42b73150712031137w713073c7q5f95b3a85e99f6d3@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Nov 30, 2007 1:18 PM, Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> wrote:
> On 30/11/2007, Cultural Sublimation <cultural_sublimation(at)yahoo(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Cesar Alvarez 2007-12-03 19:39:55 Re: Transaction problem
Previous Message Pascal Cohen 2007-12-03 19:37:58 Re: HA and Replication - how to choose among all the available solutions