Re: plpython implementation - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: plpython implementation
Date
Msg-id 51D02691.7090007@dunslane.net
Whole thread Raw
In response to Re: plpython implementation  (Szymon Guz <mabewlun@gmail.com>)
List pgsql-hackers
On 06/30/2013 08:18 AM, Szymon Guz wrote:
>
>
>
>     python does not any any sort of reliable sandbox, so there is no
>     plpython, only plpythonu - hence only one interpreter per backend
>     is needed.
>
>
> Is there any track of the discussion that there is no way to make the 
> sandbox? I managed to create some kind of sandbox, a simple 
> modification which totally disables importing modules, so I'm just 
> wondering why it cannot be done.
>


If your sandbox is simple it's almost certainly going to be broken. I 
suggest you use Google to research the topic. Our discussions should be 
in the mailing list archives.

cheers

andrew




pgsql-hackers by date:

Previous
From: Martijn van Oosterhout
Date:
Subject: Re: plpython implementation
Next
From: Szymon Guz
Date:
Subject: Re: plpython implementation