Re: proposal: table functions and plpgsql - Mailing list pgsql-hackers

From Hannu Krosing
Subject Re: proposal: table functions and plpgsql
Date
Msg-id 1211461315.7816.1.camel@huvostro
Whole thread Raw
In response to Re: proposal: table functions and plpgsql  ("Pavel Stehule" <pavel.stehule@gmail.com>)
Responses Re: proposal: table functions and plpgsql
List pgsql-hackers
On Wed, 2008-05-21 at 23:06 +0200, Pavel Stehule wrote:
> 2008/5/21 Hannu Krosing <hannu@krosing.net>:
> > On Wed, 2008-05-21 at 13:31 -0400, Merlin Moncure wrote:
> >> On Wed, May 21, 2008 at 1:28 PM, Hannu Krosing <hannu@krosing.net> wrote:
> >> >> In my proposal I don't create any default variables. Result type is
> >> >> only virtual - I don't need write it to system directory. I thing it's
> >> >> better than using some specific predeclared type as RESULTTYPE OR
> >> >> RESULTSET.
> >> >
> >> > How is this different from using OUT params and RETURNS SETOF RECORD ?
> >>
> >> *) you reference output variables via rowtype (r.var vs. var)
> >
> > As I'm currently working on updating another pl (pl/python), I'd like to
> > know how will this affect get_call_result_type() defined in funcapi.h.
> > will there be an extra parameter for record name there ?
> 
> no

why not ?

do you think that other pl languages won't need it ?

---------------
Hannu





pgsql-hackers by date:

Previous
From: "Pavel Stehule"
Date:
Subject: why SPI_execute_with_args don't use known values for optimalisation
Next
From: Tom Lane
Date:
Subject: Re: idea: storing view source in system catalogs