Re: allow building trusted languages without the untrusted versions - Mailing list pgsql-hackers

From Tom Lane
Subject Re: allow building trusted languages without the untrusted versions
Date
Msg-id 2002561.1653510034@sss.pgh.pa.us
Whole thread Raw
In response to Re: allow building trusted languages without the untrusted versions  (Stephen Frost <sfrost@snowman.net>)
Responses Re: allow building trusted languages without the untrusted versions  (Stephen Frost <sfrost@snowman.net>)
List pgsql-hackers
Stephen Frost <sfrost@snowman.net> writes:
> The very specific "it'd be nice to build PG w/o having untrusted
> languages compiled in" is at least reasonably clearly contained and
> reasonable to see if we are, in fact, doing what we claim we're doing
> with such a switch.

I agree that it's specific and easily measured.  What I don't get is why
it's worth troubling over, if we acknowledge that keeping superusers from
breaking out to OS access is infeasible.  At most, not having access to
plpythonu means you've got to kluge something up involving COPY TO
PROGRAM 'python'.

If somebody else is excited enough about it to do the legwork, I won't
stand in the way particularly.  But it strikes me as a waste of effort,
not only for the patch author but for everyone who has to read about
or maintain the resulting configure options etc.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: allow building trusted languages without the untrusted versions
Next
From: Stephen Frost
Date:
Subject: Re: allow building trusted languages without the untrusted versions