Re: Add on_perl_init and proper destruction to plperl [PATCH] - Mailing list pgsql-hackers

On Wed, Jan 27, 2010 at 4:51 PM, David E. Wheeler <[email protected]> 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 by date:

Previous
From: "David E. Wheeler"
Date:
Subject: Re: Add on_perl_init and proper destruction to plperl [PATCH]
Next
From: "David E. Wheeler"
Date:
Subject: Re: Add on_perl_init and proper destruction to plperl [PATCH]