If trusted, the function is located inside a perl Safe container, a mechanism designed for just this purpose. Try doing something forbidden inside a trusted function (like opening a file) and you will see the error.
cheers
andrew
Jan Wieck wrote:
while playing with the OSCON CD's, I noticed that the current version of plperl installs the same function handler for both, plperl and plperlu. I was wondering how it implements the important security difference or, in case it is not handled and both are in fact the same, who ignored this IMHO important difference in the naming convention of procedural languages.
Jan
---------------------------(end of broadcast)--------------------------- TIP 5: Have you checked our extensive FAQ?
http://www.postgresql.org/docs/faqs/FAQ.html