Thread: CREATE LANGUAGE 'Java'
Has anyone tried to use Java as an internal language for PostgreSQL? Is this a difficult task or even possible? Where would I start if it hasn't been done yet? thanks for any pointers, Mike
On Sun, 31 Jan 1999, Mike Engelhart wrote: > Has anyone tried to use Java as an internal language for PostgreSQL? Is > this a difficult task or even possible? Where would I start if it hasn't > been done yet? It hasn't been done yet, although about a month ago I did post a possible way of allowing Java class files to be used as a languae for PostgreSQL. You would need to use JNI and create a link between the backend(s) and a running JVM. For performance reasons, I'd advise you have the JVM running as a separate process to the backends. Peter -- Peter T Mount peter@retep.org.uk Main Homepage: http://www.retep.org.uk PostgreSQL JDBC Faq: http://www.retep.org.uk/postgres Java PDF Generator: http://www.retep.org.uk/pdf