Re: Attention PL authors: want to be listed in template table? - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Attention PL authors: want to be listed in template table?
Date
Msg-id 200509072122.12671.peter_e@gmx.net
Whole thread Raw
In response to Attention PL authors: want to be listed in template table?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
I wrote:
> Another note: PLs that are not in the core distribution are not
> created with createlang in the first place, so the issues that led up
> to this proposal don't apply AFAICT,

What I'm trying to say here is that it might be OK to hardcode the 
properties of core languages in the server, because considering that 
the only officially supported way to activate those is 
"createlang" (rather than using SQL), the properties of them are in 
effect already hardcoded, and from the point of view of a user who is 
using createlang, nothing changes.  For languages that are not shipped 
in the core, we gain pretty much nothing by this approach as currently 
implemented and potentially introduce more problems than we solve 
(e.g., language is compiled in an untrusted way, but template says it's 
trusted; template says language has validator, but user uses old 
version that has none; template points to $libdir, user has it 
installed elsewhere).

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: uuid type for postgres
Next
From: Tom Lane
Date:
Subject: Re: Attention PL authors: want to be listed in template table?