Re: Trigger function languages - Mailing list pgsql-hackers

From ts
Subject Re: Trigger function languages
Date
Msg-id 200005180744.e4I7iAC05619@moulon.moulon.inra.fr
Whole thread Raw
In response to Re: Trigger function languages  (ts <decoux@moulon.inra.fr>)
List pgsql-hackers
>>>>> "H" == Hannu Krosing <hannu@tm.ee> writes:

H> How safe is plruby ?
I'll say that ruby is more safe than perl.
Ruby define 4 security levels :

/* safe-level:  0 - strings from streams/environment/ARGV are tainted (default)  1 - no dangerous operation by tainted
string 2 - process/file operations prohibited  3 - all genetated strings are tainted  4 - no global (non-tainted)
variablemodification/no direct output
 
*/
You have a more complete description at :
 http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/2689

plruby, by default, is compiled with $SAFE >= 4

Guy Decoux



pgsql-hackers by date:

Previous
From: Hannu Krosing
Date:
Subject: Re: Trigger function languages
Next
From: Peter Mount
Date:
Subject: RE: MSSQL7 & PostgreSQL 7.0