Re: Untrusted PL/Tcl?

From: ts <decoux(at)moulon(dot)inra(dot)fr>
To: JanWieck(at)Yahoo(dot)com
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Untrusted PL/Tcl?
Date: 2000-07-18 12:12:07
Message-ID: 200007181212.e6ICC7F09730@moulon.moulon.inra.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

>>>>> "J" == Jan Wieck <JanWieck(at)t-online(dot)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=number
at 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

Browse pgsql-hackers by date

  From Date Subject
Next Message Magnus Hagander 2000-07-18 13:59:44 FlushRelationBuffers returned -2
Previous Message Lamar Owen 2000-07-18 11:54:41 Re: Untrusted PL/Tcl?