On Tue, Feb 08, 2005 at 11:12:07PM +0100, Thomas Hallgren wrote: > Hi, > A TRUSTED language specifies that ordinary users can use the > language. It also implies that access to the file system should be > prevented. In essence, ordinary users can never access the > filesystem. > > Is it OK to design a trusted language so that it allows access to > the filesystem provided that the session user is a super-user?
I believe that that is what UNTRUSTED languages are for. Only the super-user may create functions in them, although there is no inherent restriction on other users' calling those functions. Cheers, D -- David Fetter [EMAIL PROTECTED] http://fetter.org/ phone: +1 510 893 6100 mobile: +1 415 235 3778 Remember to vote! ---------------------------(end of broadcast)--------------------------- TIP 6: Have you searched our list archives? http://archives.postgresql.org