Skip site navigation (1) Skip section navigation (2)

PG functions in Java: maybe use gcj?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-hackers(at)postgreSQL(dot)org
Subject: PG functions in Java: maybe use gcj?
Date: 2002-10-30 19:29:57
Message-ID: 819.1036006197@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackers
I had an interesting conversation today with Tom Tromey and Andrew Haley
of Red Hat about how to implement "pljava" for Postgres.  Rather than
futzing with an external JVM, their thought is to use gcj (gcc compiling
Java).  It sounds like this approach would mostly just work, modulo
needing to use a small amount of C++ code to call the defined APIs for
gcj.

This would not be a perfect solution: gcj isn't yet ported everywhere,
and it would probably not play nice on machines where the standard C
library isn't thread-safe.  But it seems a lot more within reach than
the approaches we've discussed in the past.

I'm not volunteering to try to do this, but I wanted to toss the idea
up in the air and see if anyone wants to try it.  Tom and Andrew
indicated they'd be willing to help out with advice etc for anyone
who wants to take on the project.

			regards, tom lane

Responses

pgsql-hackers by date

Next:From: Greg CopelandDate: 2002-10-30 19:33:35
Subject: Re: pgAdmin III (Was: Request for supported platforms)
Previous:From: Pedro M. FerreiraDate: 2002-10-30 19:29:55
Subject: Re: float output precision questions

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group