Thomas Hallgren wrote:
> If my assumptions are correct, then please add:
>
>       { "java", true, "sqlj.java_call_handler", NULL,
>               "libpljava" },
>       { "javaU", false, "sqlj.javau_call_handler", NULL,
>               "libpljava" },

In the interest of uniformity, please rename your libraries to omit the 
"lib" prefix.

The other problem I see emerging here is that in certain environments, 
the "java" language may not be trusted, such as when it is compiled 
with GCJ.  Then, this built-in template will override the CREATE 
LANGUAGE specification and introduce a security hole.

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

---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
       choose an index scan if your joining column's datatypes do not
       match

Reply via email to