Received: from serv1.ilse.nl (serv1.ilse.nl [212.189.131.11]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f2TE6GK22816 for ; Thu, 29 Mar 2001 09:06:16 -0500 (EST) (envelope-from mathijs@ilse.nl) Received: (from mathijs@localhost) by serv1.ilse.nl (8.11.0/8.10.2) id f2TE5sC80472; Thu, 29 Mar 2001 16:05:54 +0200 (MEST) Date: Thu, 29 Mar 2001 16:05:54 +0200 From: Mathijs Brands To: Peter Mount Cc: Peter Eisentraut , pgsql-sql@postgresql.org Subject: Re: Calling Java from psql (was Re: requesting help) Message-ID: <20010329160554.B56499@ilse.nl> References: <20010326103338.D77438@ilse.nl> <20010326213742.B9836@ilse.nl> <5.0.2.1.0.20010329100932.02126850@mail.retep.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <5.0.2.1.0.20010329100932.02126850@mail.retep.org.uk>; from peter@retep.org.uk on Thu, Mar 29, 2001 at 10:10:44AM +0100 X-Unexpected-Header: The Spanish Inquisition X-Archive-Number: 200103/604 X-Sequence-Number: 2275 On Thu, Mar 29, 2001 at 10:10:44AM +0100, Peter Mount allegedly wrote: > At 21:37 26/03/01 +0200, Mathijs Brands wrote: > >On Mon, Mar 26, 2001 at 07:00:43PM +0200, Peter Eisentraut allegedly wrote: > > > Mathijs Brands writes: > > > > > > > Has anybody ever tried calling Java code from a pgsql trigger written > > > > in C? Shouldn't this be possible using JNI? > > > > > > I have, and given the current Java implementations it's a desaster. > > > >That bad eh? Well, I must admit I couldn't get the PHP-Java coupling to > >work stable either :( > > Not having looked at the PHP-Java link, are they working as one process or > is it some IPC type link? They run a seperate JVM and connect to it. At least that what I gathered. Regards, Mathijs -- It's not that perl programmers are idiots, it's that the language rewards idiotic behavior in a way that no other language or tool has ever done. Erik Naggum