Re: BUG #5066: plperl issues with perl_destruct() and END blocks - Mailing list pgsql-bugs

From Robert Haas
Subject Re: BUG #5066: plperl issues with perl_destruct() and END blocks
Date
Msg-id 603c8f070909192026l23abdda9oe149e0acb0628cf5@mail.gmail.com
Whole thread Raw
In response to Re: BUG #5066: plperl issues with perl_destruct() and END blocks  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: BUG #5066: plperl issues with perl_destruct() and END blocks  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
On Sat, Sep 19, 2009 at 3:53 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> "Tim Bunce" <Tim.Bunce@pobox.com> writes:
>> The plperl implementation doesn't call perl_destruct() during server
>> shutdown.
>
> Who cares? =A0The process is going away anyway.

END {} blocks can execute arbitrary code.  Perl users will expect them
to be executed.

...Robert

pgsql-bugs by date:

Previous
From: "Paulo"
Date:
Subject: BUG #5068: LIKE
Next
From: Tom Lane
Date:
Subject: Re: BUG #5066: plperl issues with perl_destruct() and END blocks