On Sat, Sep 19, 2009 at 3:53 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> "Tim Bunce" <Tim(dot)Bunce(at)pobox(dot)com> writes:
>> The plperl implementation doesn't call perl_destruct() during server
>> shutdown.
>
> Who cares? The process is going away anyway.
END {} blocks can execute arbitrary code. Perl users will expect them
to be executed.
...Robert