Re: PlPython

Поиск
Список
Период
Сортировка
От Kevin Jacobs
Тема Re: PlPython
Дата
Msg-id Pine.LNX.4.44.0306301500480.13906-100000@penguin.theopalgroup.com
обсуждение исходный текст
Ответ на Re: PlPython  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: PlPython  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Hannu Krosing
Дата:
Сообщение: Re: [HACKERS] PlPython
Следующее
От: "Patrick Hatcher"
Дата:
Сообщение: Re: Pg_Dumpall error?