Re: Package namespace and Safe init cleanup for plperl [PATCH]

Поиск
Список
Период
Сортировка
От Tim Bunce
Тема Re: Package namespace and Safe init cleanup for plperl [PATCH]
Дата
Msg-id 20100125195326.GD78082@timac.local
обсуждение исходный текст
Ответ на Package namespace and Safe init cleanup for plperl [PATCH]  (Tim Bunce <Tim.Bunce@pobox.com>)
Ответы Re: Package namespace and Safe init cleanup for plperl [PATCH]  (Alex Hunsaker <badalex@gmail.com>)
Список pgsql-hackers
On Fri, Jan 15, 2010 at 04:02:02AM +0000, Tim Bunce wrote:
> This is the final plperl patch in the series from me.
>
> Changes in this patch:
>
> - Moved internal functions out of main:: namespace
>     into PostgreSQL::InServer and PostgreSQL::InServer::safe
>
> - Restructured Safe compartment setup code
>     to generalize and separate the data from the logic.
>
> Neither change has any user visible effects.

This is a revised version of the patch with the following additional
changes:

- Further generalized the 'what to load into Safe compartment' logic.

- Added the 'warnings' pragma to the list of modules to load into Safe.
  So plperl functions can now "use warnings;" - added test for that.

- Added 'use 5.008001;' to plc_perlboot.pl as a run-time check to
  complement the configure-time check added by Tom Lane recently.

Tim.

Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Ivan Sergio Borgonovo
Дата:
Сообщение: C function accepting/returning cstring vs. text
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Review: listagg aggregate