Re: [PATCHES] plperl Safe restrictions - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: [PATCHES] plperl Safe restrictions
Date
Msg-id 419A8FD1.6000206@dunslane.net
Whole thread Raw
In response to Re: [PATCHES] plperl Safe restrictions  (John Hansen <john@geeknet.com.au>)
Responses Re: [PATCHES] plperl Safe restrictions  (John Hansen <john@geeknet.com.au>)
List pgsql-hackers

John Hansen wrote:

>>Applied, with changes to allow srand and disallow sprintf, as per
>>subsequent discussion.
>>
>>
>
>How about allowing:
>
>use utf8;
>use locale;
>
>?
>
>
>
>

I think it is *way* too late in the dev cycle to be proposing this.
Maybe it should be a TODO item - I at least don't have time even to
think about the implications os using these pragmas. The effect of the
first is achievable via an environment setting, I believe.

If you need these badly enough, use plperlu where there are no
restrictions to overcome - the big problem is that 'use anything'
requires that we enable the 'require' op, and that is certainly not
going to happen without a great deal of thought.

cheers

andrew

pgsql-hackers by date:

Previous
From: subhash@nmsu.edu
Date:
Subject: Problems with output function of new datatype!
Next
From: John Hansen
Date:
Subject: Re: [PATCHES] plperl Safe restrictions