On Mon, 30 Jun 2003, Tom Lane wrote:
> Kevin Jacobs <jacobs@penguin.theopalgroup.com> writes:
> > Attached is a patch that removes all of the RExec code from plpython from
> > the current PostgreSQL CVS. In addition, plpython needs to be changed to an
> > untrusted language in createlang.
>
> I'm working on the latter and cleaning up the documentation. How does
> your patch affect this statement in the plpython documentation?
>
> Each function gets its own restricted execution object in the
> Python interpreter, so that global data and function arguments from
> <function>myfunc</function> are not available to
> <function>myfunc2</function>. The exception is the data in the
> <varname>GD</varname> dictionary, as mentioned above.
Only a slight modification is needed:
Each function gets its own execution enviornment in the
Python interpreter, ...
-Kevin
--
--
Kevin Jacobs
The OPAL Group - Enterprise Systems Architect
Voice: (216) 986-0710 x 19 E-mail: jacobs@theopalgroup.com
Fax: (216) 986-0714 WWW: http://www.theopalgroup.com