pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: clayton cottingham <drfrog@smartt.com>
To: Peter Mount <peter@retep.org.uk>
Cc: Mathijs Brands <mathijs@ilse.nl>
Cc: pgsql-sql@postgresql.org
Subject: Re: Calling Java from psql (was Re: requesting help)
Date: Thu, 29 Mar 2001 07:54:25 -0800
Message-ID: <3AC35AB1.E50CDF34@smartt.com> (raw)
References: <5.0.2.1.0.20010329100409.02122480@mail.retep.org.uk>

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



view thread (12+ messages)  latest in thread

Message-ID: <3AC35AB1.E50CDF34@smartt.com>
Permalink:  ../3AC35AB1.E50CDF34@smartt.com/
Also on:    postgresql.org/message-id/3AC35AB1.E50CDF34@smartt.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: drfrog@smartt.com, peter@retep.org.uk, mathijs@ilse.nl
  Subject: Re: Calling Java from psql (was Re: requesting help)
  In-Reply-To: <3AC35AB1.E50CDF34@smartt.com>
  References: <5.0.2.1.0.20010329100409.02122480@mail.retep.org.uk> <3AC35AB1.E50CDF34@smartt.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox