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

From Tom Lane
Subject Re: [HACKERS] plperl Safe restrictions
Date
Msg-id 3097.1100642775@sss.pgh.pa.us
Whole thread Raw
In response to Re: [HACKERS] plperl Safe restrictions  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: [HACKERS] plperl Safe restrictions  (John Hansen <john@geeknet.com.au>)
List pgsql-patches
Andrew Dunstan <andrew@dunslane.net> writes:
> It has just been brought to my attention that we are being very
> restrictive about what we allow to be done in trusted plperl.
> ...
> OK, based on this and some further thought, I have prepared the attached
> patch which does the right thing, I think, both in terms of what we
> allow and what we don't.

Applied, with changes to allow srand and disallow sprintf, as per
subsequent discussion.

            regards, tom lane

pgsql-patches by date:

Previous
From: "Joshua D. Drake"
Date:
Subject: Re: Win32 signals & sockets
Next
From: John Hansen
Date:
Subject: Re: [HACKERS] plperl Safe restrictions