Re: Add on_perl_init and proper destruction to plperl UPDATE v3 [PATCH]

Поиск
Список
Период
Сортировка
От Tim Bunce
Тема Re: Add on_perl_init and proper destruction to plperl UPDATE v3 [PATCH]
Дата
Msg-id 20100130142555.GE1141@timac.local
обсуждение исходный текст
Ответ на Re: Add on_perl_init and proper destruction to plperl UPDATE v3 [PATCH]  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
On Fri, Jan 29, 2010 at 09:10:48PM -0500, Andrew Dunstan wrote:
> 
> Tim Bunce wrote:
> >This is an updated version of the third of the patches to be
> >split out from the former 'plperl feature patch 1'.
> >
> >It includes changes following discussions with Tom Lane and others.
> >
> >Changes in this patch:
> >
> >- Added plperl.on_perl_init GUC for DBA use (PGC_SIGHUP)
> >   SPI functions are not available when the code is run.
> >
> >- Added interpreter destruction behaviour
> >   Hooked via on_proc_exit().
> >   Only has any effect for normal shutdown.
> >   END blocks, if any, are run.
> >   SPI functions will die if called at this time.
> >
> >This updated version no longer tries to call object destructors.
> >I've added a note in the Limitations section of the PL/Perl docs.
> >It also adds a PERL_SET_CONTEXT() that's needed but was missing.
> 
> I have committed this.

Many thanks.

> Tim, can you rebase the last two patches against current CVS HEAD?

ASAP...

Tim.


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

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: New VACUUM FULL
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: New VACUUM FULL