Re: [HACKERS] plperl Safe restrictions - Mailing list pgsql-patches

From Andrew Dunstan
Subject Re: [HACKERS] plperl Safe restrictions
Date
Msg-id 4193A143.308@dunslane.net
Whole thread Raw
List pgsql-patches

Bruce Momjian wrote:

>Your patch has been added to the PostgreSQL unapplied patches list at:
>
>    http://momjian.postgresql.org/cgi-bin/pgpatches
>
>It will be applied as soon as one of the PostgreSQL committers reviews
>and approves it.
>
>---------------------------------------------------------------------------
>
>
>Andrew Dunstan wrote:
>
>
>>...
>>
>>The patch also does some other inconsequential tidying of overlong
>>lines, and removes some unnecessary ops in the unsafe case. These are
>>basically cosmetic - the only significant part is replacing this:
>>
>>    $PLContainer->permit(':base_math');
>>
>>with this:
>>
>>    $PLContainer->permit(qw[:base_math !:base_io !srand sort sprintf time]);
>>
>>
>>
>

As per previous discussions, please remove "!srand" and "sprintf"
if/when applying.

cheers

andrew

pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] plperl Safe restrictions
Next
From: Tom Lane
Date:
Subject: Re: Proposed patch to remove USERLIMIT