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

From Tim Bunce
Subject Add on_perl_init and proper destruction to plperl [PATCH]
Date
Msg-id 20100114221128.GL8024@timac.local
Whole thread Raw
Responses Re: Add on_perl_init and proper destruction to plperl [PATCH]  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers
This is the third of the patches to be split out from the former 'plperl
feature patch 1'.

Changes in this patch:

- Added plperl.on_perl_init GUC for DBA use (PGC_SIGHUP)
    SPI functions are not available when the code is run.

- Added normal interpreter destruction behaviour
    END blocks, if any, are run then objects are
    destroyed, calling their DESTROY methods, if any.
    SPI functions will die if called at this time.

Tim.

Attachment

pgsql-hackers by date:

Previous
From: Alex Hunsaker
Date:
Subject: Re: Source code for pg_bulkload
Next
From: Heikki Linnakangas
Date:
Subject: Re: Streaming replication, retrying from archive