Re: Specification for Trusted PLs? - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Specification for Trusted PLs?
Date
Msg-id 201005271523.o4RFNig15835@momjian.us
Whole thread Raw
In response to Re: Specification for Trusted PLs?  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Specification for Trusted PLs?
List pgsql-hackers
Tom Lane wrote:
> Joshua Tolley <eggyknap@gmail.com> writes:
> > Agreed. As long as a trusted language can do things outside the
> > database only by going through a database and calling some function to
> > which the user has rights, in an untrusted language, that seems decent
> > to me. A user with permissions to launch_missiles() would have a
> > function in an untrusted language to do it, but there's no reason an
> > untrusted language shouldn't be able to say "SELECT
> 
> s/untrusted/trusted/ here, right?

One thing that has always bugged me is that the use of
"trusted/untrusted" for languages is confusing, because it is "trusted"
users who can run untrusted languages.  I think "trust" is more
associated with users than with software features.  I have no idea how
this confusion could  be clarified.

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com


pgsql-hackers by date:

Previous
From: Greg Stark
Date:
Subject: Re: pg_trgm
Next
From: Tom Lane
Date:
Subject: 9.0beta2 release plans