Re: PlPython

From: Kevin Jacobs <jacobs(at)penguin(dot)theopalgroup(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: joconnor(at)cybermesa(dot)com, <pgsql-general(at)postgresql(dot)org>
Subject: Re: PlPython
Date: 2003-06-30 19:02:06
Message-ID: Pine.LNX.4.44.0306301500480.13906-100000@penguin.theopalgroup.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

On Mon, 30 Jun 2003, Tom Lane wrote:
> Kevin Jacobs <jacobs(at)penguin(dot)theopalgroup(dot)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(at)theopalgroup(dot)com
Fax: (216) 986-0714 WWW: http://www.theopalgroup.com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tilo Schwarz 2003-06-30 20:28:56 Re: PlPython
Previous Message Tom Lane 2003-06-30 18:11:26 Re: PlPython

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2003-06-30 19:37:02 Re: [HACKERS] Missing array support
Previous Message Tom Lane 2003-06-30 18:11:26 Re: PlPython