Re: Add on_perl_init and proper destruction to plperl [PATCH]
От | Robert Haas |
---|---|
Тема | Re: Add on_perl_init and proper destruction to plperl [PATCH] |
Дата | |
Msg-id | 603c8f071001271353o1bcd9cc0ka227cd0ff95e435f@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: Add on_perl_init and proper destruction to plperl [PATCH] ("David E. Wheeler" <david@kineticode.com>) |
Ответы |
Re: Add on_perl_init and proper destruction to plperl [PATCH]
Re: Add on_perl_init and proper destruction to plperl [PATCH] |
Список | pgsql-hackers |
On Wed, Jan 27, 2010 at 4:51 PM, David E. Wheeler <david@kineticode.com> wrote: >> Neither of those relate to the actions of perl source code. >> To address that, instead of calling perl_destruct() to perform a >> complete destruction I could just execute END blocks and object >> destructors. That would avoid executing any system-level actions. > > Does perl_destruct() execute system-level actions, then? If so, then it seems prudent to either audit such actions or,as you say, call destructors directly. What exactly do we mean by "system-level actions"? I mean, END blocks can execute arbitrary code.... ...Robert
В списке pgsql-hackers по дате отправления: