Re: Package namespace and Safe init cleanup for plperl [PATCH]

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: "David E(dot) Wheeler" <david(at)kineticode(dot)com>
Cc: Tim Bunce <Tim(dot)Bunce(at)pobox(dot)com>, Alex Hunsaker <badalex(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Package namespace and Safe init cleanup for plperl [PATCH]
Date: 2010-02-13 23:35:42
Message-ID: 4B77374E.1070703@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

David E. Wheeler wrote:
> On Feb 13, 2010, at 2:46 PM, Andrew Dunstan wrote:
>
>
>>> I'm confused. Doesn't on_plperl_init already give us this? Isn't any of the stuff loaded by that GUC then available from inside the PLPerl Safe compartment?
>>>
>> No (and if it does it's a bug). Try it and see.
>>
>
> Then what's the point of it?
>
>
>

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

cheers

andrew

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David E. Wheeler 2010-02-14 00:00:25 Re: Package namespace and Safe init cleanup for plperl [PATCH]
Previous Message David E. Wheeler 2010-02-13 23:32:41 Re: Package namespace and Safe init cleanup for plperl [PATCH]