Re: Package namespace and Safe init cleanup for plperl [PATCH] - Mailing list pgsql-hackers

From David E. Wheeler
Subject Re: Package namespace and Safe init cleanup for plperl [PATCH]
Date
Msg-id 06EF65A7-F3D0-4B08-81AE-171DB1F206E7@kineticode.com
Whole thread Raw
In response to Re: Package namespace and Safe init cleanup for plperl [PATCH]  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: Package namespace and Safe init cleanup for plperl [PATCH]
Re: Package namespace and Safe init cleanup for plperl [PATCH]
List pgsql-hackers
On Feb 13, 2010, at 3:35 PM, Andrew Dunstan wrote:

> To perform initialisation, such as setting a value in %_SHARED.

Hrm. Well, as a DBA, I'd *really* like to be able to make some things available from within a Safe container, such as
Devel::NYTProf::PgPLPerlor the PostgreSQL::PLPerl::Call module that Tim's working on. Right now I can do that by
hackingwarnings.pm directly or by the method you  figured out a few weeks ago, which isn't really all that nasty. 

I'm not sure that Tim's interface is the best approach to giving DBAs the ability to do this from within PostgreSQL,
butI'm hard-pressed to come up with a better interface. But I do think it should be allowed. 

Best,

David



pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: Package namespace and Safe init cleanup for plperl [PATCH]
Next
From: Jeff Davis
Date:
Subject: Re: knngist patch support