Re: PlPython - Mailing list pgsql-general

From Kevin Jacobs
Subject Re: PlPython
Date
Msg-id Pine.LNX.4.44.0306301500480.13906-100000@penguin.theopalgroup.com
Whole thread Raw
In response to Re: PlPython  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: PlPython
List pgsql-general
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


pgsql-general by date:

Previous
From: Hannu Krosing
Date:
Subject: Re: [HACKERS] PlPython
Next
From: "Patrick Hatcher"
Date:
Subject: Re: Pg_Dumpall error?