Re: Status of plperl inter-sp calling - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Status of plperl inter-sp calling
Date
Msg-id 201001061749.o06HnrZ16946@momjian.us
Whole thread Raw
In response to Re: Status of plperl inter-sp calling  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane wrote:
> Andrew Dunstan <andrew@dunslane.net> writes:
> > Next question: what do we do if a direct-called function calls 
> > return_next()? That at least must surely take effect in the caller's 
> > context - the callee won't have anywhere to stash the the results at all.
> 
> Whatever do you mean by "take effect in the caller's context"?  I surely
> hope it's not "return the row to the caller's caller, who likely isn't
> expecting anything of the kind".
> 
> I suspect Tim will just answer that he isn't going to try to
> short-circuit the call path for set-returning functions.

FYI, I am excited PL/Perl is getting a good review and cleaning by Tim.

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + If your life is a hard drive, Christ can be your backup. +


pgsql-hackers by date:

Previous
From: Stefan Kaltenbrunner
Date:
Subject: snapshot generation broken again...
Next
From: Robert Haas
Date:
Subject: Re: fastgetattr & isNull