Re: Untrusted PL/Tcl? - Mailing list pgsql-hackers

From ts
Subject Re: Untrusted PL/Tcl?
Date
Msg-id 200007181212.e6ICC7F09730@moulon.moulon.inra.fr
Whole thread Raw
In response to Untrusted PL/Tcl?  (JanWieck@t-online.de (Jan Wieck))
List pgsql-hackers
>>>>> "J" == Jan Wieck <JanWieck@t-online.de> writes:

J>     there  have  been a couple of questions WRT doing untrustable
J>     things like file access, LDAP and the  like  from  inside  of
J>     triggers or functions.
With PL/Ruby you can do this by giving the option --with-safe-level=numberat compile time. 
Safe level must be >= 1, you just need to comment the line :
    rb_set_safe_level(1);
in plruby_init_all(), if you want to run it with $SAFE = 0


Guy Decoux




pgsql-hackers by date:

Previous
From: Lamar Owen
Date:
Subject: Re: Untrusted PL/Tcl?
Next
From: Magnus Hagander
Date:
Subject: FlushRelationBuffers returned -2