Re: [INTERFACES] CREATE LANGUAGE 'Java' - Mailing list pgsql-interfaces

From Peter T Mount
Subject Re: [INTERFACES] CREATE LANGUAGE 'Java'
Date
Msg-id Pine.LNX.4.04.9902011409020.3631-100000@maidast.retep.org.uk
Whole thread Raw
In response to CREATE LANGUAGE 'Java'  ("Mike Engelhart" <aengelhart@austin.rr.com>)
List pgsql-interfaces
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


pgsql-interfaces by date:

Previous
From: Byron Nikolaidis
Date:
Subject: Re: [INTERFACES] ODBC Locking troubles
Next
From: Peter T Mount
Date:
Subject: Re: [INTERFACES] Re: pgsql-interfaces-digest V1 #208