Re: [INTERFACES] CREATE LANGUAGE 'Java'

From: Peter T Mount <peter(at)retep(dot)org(dot)uk>
To: Mike Engelhart <aengelhart(at)austin(dot)rr(dot)com>
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: [INTERFACES] CREATE LANGUAGE 'Java'
Date: 1999-02-01 14:11:18
Message-ID: Pine.LNX.4.04.9902011409020.3631-100000@maidast.retep.org.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)retep(dot)org(dot)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

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message Thomas G. Lockhart 1999-02-01 14:13:37 Re: [INTERFACES] Large objects, why not use the filesystem?
Previous Message Peter T Mount 1999-02-01 14:08:51 Re: [INTERFACES] Large objects, why not use the filesystem?