Kevin Jacobs <jacobs@penguin.theopalgroup.com> writes:
> I had to guess what a "trusted" language should or should not do. For
> example, I do not allow Python to report the platform it is running on,
> though I do allow it to report the native byte-order and interpreter
> version.

Do you mean platform type, or host name?  "select version()" reports the
platform type, so I see no reason to hide that in plpython.  Otherwise
the changes sound reasonable in brief.  I don't know Python well enough
to review the change properly, though.  D'Arcy or someone, please check
it...

			regards, tom lane

Mon, 12 Nov 2001 13:32:20 -0500
Tom Lane <tgl@sss.pgh.pa.us>
Re: Possible major bug in PlPython (plus some other ideas) 
On Mon, 12 Nov 2001, Tom Lane wrote:
> Kevin Jacobs <jacobs@penguin.theopalgroup.com> writes:
> > I had to guess what a "trusted" language should or should not do. For
> > example, I do not allow Python to report the platform it is running on,
> > though I do allow it to report the native byte-order and interpreter
> > version.
>
> Do you mean platform type, or host name?  "select version()" reports the
> platform type, so I see no reason to hide that in plpython.

I meant platform type.  Since its already available in Postgre, I'll make it
available in my next path.

-Kevin

--
Kevin Jacobs
The OPAL Group - Enterprise Systems Architect
Voice: (216) 986-0710 x 19         E-mail: jacobs@theopalgroup.com
Fax:   (216) 986-0714              WWW:    http://www.theopalgroup.com



Mon, 12 Nov 2001 14:19:24 -0500 (EST)
Kevin Jacobs <jacobs@penguin.theopalgroup.com>
Re: Possible major bug in PlPython (plus some other ideas)