Re: Pl/Python -- current maintainer? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Pl/Python -- current maintainer?
Date
Msg-id 19913.1140977332@sss.pgh.pa.us
Whole thread Raw
In response to Re: Pl/Python -- current maintainer?  (James William Pye <pgsql@jwp.name>)
Responses Re: Pl/Python -- current maintainer?  (James William Pye <pgsql@jwp.name>)
List pgsql-hackers
James William Pye <pgsql@jwp.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


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: constraints and sql92 information_schema compliance
Next
From: James William Pye
Date:
Subject: Re: Pl/Python -- current maintainer?