Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: Pl/Python -- current maintainer?


  • From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
  • To: James William Pye <pgsql(at)jwp(dot)name>
  • Cc: Tino Wildenhain <tino(at)wildenhain(dot)de>, James Robinson <jlrobins(at)socialserve(dot)com>, "Joshua D. Drake" <jd(at)commandprompt(dot)com>, Hackers Development <pgsql-hackers(at)postgresql(dot)org>
  • Subject: Re: Pl/Python -- current maintainer?
  • Date: Sun, 26 Feb 2006 13:08:52 -0500
  • Message-id: <19913(dot)1140977332(at)sss(dot)pgh(dot)pa(dot)us>

James William Pye <pgsql(at)jwp(dot)name> writes:
> On Sat, Feb 25, 2006 at 06:36:19PM -0300, Alvaro Herrera wrote:
>> I'm not sure it's an issue now that we have pg_pltemplate, but in older
>> versions it's possible to create a language without setting a validator.
>> This would make the validator an unsuitable place for checking the
>> restrictions.

> Hrm. I think this would only be an issue in PL/Py is if the user had the ability
> to alter probin. The handler will never directly execute code in prosrc; it
> relies on a validator to fill in probin.

That design is broken on its face, as the system does not guarantee to
call the validator.

			regards, tom lane



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group