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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #5066: plperl issues with perl_destruct() and END blocks
Дата
Msg-id 16715.1253418206@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: BUG #5066: plperl issues with perl_destruct() and END blocks  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: BUG #5066: plperl issues with perl_destruct() and END blocks  (Tim Bunce <Tim.Bunce@pobox.com>)
Список pgsql-bugs
Robert Haas <robertmhaas@gmail.com> writes:
> 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?  The process is going away anyway.

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

[ shrug... ]  As a database geek I find the lack of guarantees about
that to be entirely unsatisfying.  What exactly are you going to put
in that block?  If it's actually important, are you going to trust
a mechanism that doesn't have any crash safeness?

            regards, tom lane

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: BUG #5066: plperl issues with perl_destruct() and END blocks
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: BUG #5068: LIKE