From: | Kevin Jacobs <jacobs(at)penguin(dot)theopalgroup(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | pgsql-hackers(at)postgreSQL(dot)org, <pgsql-general(at)postgreSQL(dot)org> |
Subject: | Re: PlPython |
Date: | 2003-06-23 10:50:54 |
Message-ID: | Pine.LNX.4.44.0306230645070.22187-100000@penguin.theopalgroup.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-hackers |
On Sun, 22 Jun 2003, Tom Lane wrote:
> Kevin Jacobs <jacobs(at)penguin(dot)theopalgroup(dot)com> writes:
> > Attached is a patch that removes all of the RExec code from plpython from
> > the current PostgreSQL CVS. In addition, plpython needs to be changed to an
> > untrusted language in createlang.
>
> I am inclined to rename plpython to plpythonu, by analogy to pltclu.
In 7.4, I would do this. In the next 7.3.x release, I would leave the name
as is, but still make plpython untrusted. It will cause some problems, but
safety and integrity are more important here. After all, the alternative is
to drop the PL entirely.
> On the other hand, this would create headaches for people who are trying
> to load dump files that declare plpython or contain plpython-language
> functions. I can't think of any non-kluge solution to this (kluge
> solutions would include putting special-case code into CREATE FUNCTION
> to change 'plpython' to 'plpythonu' ...)
Allowing both plpython and plpythonu to be added as separate languages
should be sufficient. This way, we effectively deprecate plpython, or at
least defer its final removal until the restricted execution problem can be
solved. I hope to start looking into exactly what needs to be done to
restore that functionality in the next few weeks.
Thanks,
-Kevin
--
--
Kevin Jacobs
The OPAL Group - Enterprise Systems Architect
Voice: (216) 986-0710 x 19 E-mail: jacobs(at)theopalgroup(dot)com
Fax: (216) 986-0714 WWW: http://www.theopalgroup.com
From | Date | Subject | |
---|---|---|---|
Next Message | Hubert Lubaczewski | 2003-06-23 11:17:54 | Re: Looking for PERL documentation |
Previous Message | Pavel Stehule | 2003-06-23 10:45:48 | Re: PL/PGSQL -- How To Return a Temp Table |
From | Date | Subject | |
---|---|---|---|
Next Message | Srikanth M | 2003-06-23 11:59:54 | informatoin reagarding the last date of submission |
Previous Message | Andrew Dunstan | 2003-06-23 09:42:47 | Re: Two weeks to feature freeze |