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

From fche@redhat.com (Frank Ch. Eigler)
Subject Re: Add on_perl_init and proper destruction to plperl [PATCH]
Date
Msg-id y0mtyu7ebvk.fsf@fche.csb
Whole thread Raw
In response to Re: Add on_perl_init and proper destruction to plperl [PATCH]  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane <tgl@sss.pgh.pa.us> writes:

> [...]
> Lastly, an atexit trigger will still fire during FATAL or PANIC aborts,
> which scares me even more.  When the house is already afire, it's
> not prudent to politely let user-written perl code do whatever it wants
> before you get the heck out of there.

Is there a reason that these panics don't use _exit(3) to bypass
atexit hooks?

- FChE


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Add on_perl_init and proper destruction to plperl [PATCH]
Next
From: Tom Lane
Date:
Subject: Re: [COMMITTERS] pgsql: Remove tabs in SGML.