Re: Calling Java from psql (was Re: requesting help)

From: clayton cottingham <drfrog(at)smartt(dot)com>
To: Peter Mount <peter(at)retep(dot)org(dot)uk>
Cc: Mathijs Brands <mathijs(at)ilse(dot)nl>, pgsql-sql(at)postgresql(dot)org
Subject: Re: Calling Java from psql (was Re: requesting help)
Date: 2001-03-29 15:54:25
Message-ID: 3AC35AB1.E50CDF34@smartt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Peter Mount wrote:
>
> At 10:33 26/03/01 +0200, Mathijs Brands wrote:
>
> >Has anybody ever tried calling Java code from a pgsql trigger written
> >in C? Shouldn't this be possible using JNI?
>
> This was discussed recently.
>
> >I'm not exactly a Java expert myself, but this is the way PHP allows
> >you to call Java code from your PHP scripts.
>
> It may be something to look at when things quieten down a bit. I'm rushed
> of my feet at the moment (busy at work, long hours etc) but once 7.1 is
> finally out of the door, I may get the chance to start looking at JNI (& my
> employers don't mind me spending some time working on postgres when I'm not
> on other projects either which is nice ;-) )
>
> PS: the JDBC list is the best place for java based emails - I rarely read
> sql ;-)
>
> Peter
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster

another possible angle is to use perl and its new inline module
{not sure if java is fully supported yet...}
or its other perl->java binding

it should be avail a t cpan

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Tom Lane 2001-03-29 16:05:47 Re: Escaping \
Previous Message Michael Fork 2001-03-29 15:04:46 Re: serial type; race conditions