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

From Andrew Dunstan
Subject Re: Add on_perl_init and proper destruction to plperl [PATCH]
Date
Msg-id 4B606D86.7030204@dunslane.net
Whole thread Raw
In response to Re: Add on_perl_init and proper destruction to plperl [PATCH]  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Add on_perl_init and proper destruction to plperl [PATCH]  (Tim Bunce <Tim.Bunce@pobox.com>)
List pgsql-hackers

Tom Lane wrote:
> But in any case, I don't believe for a moment that profiling is the only
> or even the largest use to which people would try to put this.
>
>             
>   

Well, ISTR there have been requests over the years for event handlers 
for (among other things) session shutdown, so if you're speculating that 
people would use this as an end run around our lack of such things you 
could be right. Maybe providing for such handlers in a more general and 
at the same time more safe way would be an alternative.

cheers

andrew


pgsql-hackers by date:

Previous
From: Greg Smith
Date:
Subject: Re: C function accepting/returning cstring vs. text
Next
From: Tom Lane
Date:
Subject: Re: Add on_perl_init and proper destruction to plperl [PATCH]