Re: PlPython

Поиск
Список
Период
Сортировка
От Kevin Jacobs
Тема Re: PlPython
Дата
Msg-id Pine.LNX.4.44.0306301735350.18075-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:
> elein  <elein@varlena.com> writes:
> > Sorry about the mixup earlier.  But the "forbidden"
> > modules part still needs to be tossed for the new doc.
>
> Right.  I already pulled section 43.4 --- see the updated docs at
> http://developer.postgresql.org/docs/postgres/plpython.html
>
> I've also commented out the paragraph about global data and function
> arguments pending resolution of the question.  Given the reference to
> restricted execution objects in the original text, I would think that
> the removal of rexec usage means that plpython functions can now get at
> any global data.  But I'm not a Python user and might be
> misunderstanding the point.

The scope of each function is still private, so global data are not shared
unless explicitly stored in the "GD" dictionary.  This is still the case
with my updated code.

-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 по дате отправления:

Предыдущее
От: Kevin Jacobs
Дата:
Сообщение: Re: PlPython
Следующее
От: Hannu Krosing
Дата:
Сообщение: Re: [HACKERS] PlPython