Re: BUG #5066: plperl issues with perl_destruct() and END blocks

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Tim Bunce <Tim(dot)Bunce(at)pobox(dot)com>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #5066: plperl issues with perl_destruct() and END blocks
Date: 2009-09-20 03:26:16
Message-ID: 603c8f070909192026l23abdda9oe149e0acb0628cf5@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2009-09-20 03:43:26 Re: BUG #5066: plperl issues with perl_destruct() and END blocks
Previous Message Paulo 2009-09-20 01:00:03 BUG #5068: LIKE