Received: from postgresql.org.org (webmail.postgresql.org [216.126.85.28]) by postgresql.org (8.11.3/8.11.1) with SMTP id f2UERKK51680 for ; Fri, 30 Mar 2001 09:27:20 -0500 (EST) (envelope-from pgsql-sql-owner@postgresql.org) Received: from vrtx.co.uk (vortex1.vrtx.net [195.224.63.4]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f2TDkaK20077 for ; Thu, 29 Mar 2001 08:46:36 -0500 (EST) (envelope-from james@fsck.co.uk) Received: from localhost (james@localhost) by vrtx.co.uk (8.9.3/8.8.8) with ESMTP id OAA15309; Thu, 29 Mar 2001 14:46:03 +0100 Date: Thu, 29 Mar 2001 14:46:03 +0100 (BST) From: A James Lewis X-X-Sender: To: Peter Mount cc: Mathijs Brands , Peter Eisentraut , Subject: Re: Calling Java from psql (was Re: requesting help) In-Reply-To: <5.0.2.1.0.20010329100932.02126850@mail.retep.org.uk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200103/639 X-Sequence-Number: 2315 Before I go investigating this, is it possible to trigger an arbitrary program from the SQL, say a shell script? Also, why am I getting "not subscribed messages", I am subscribed since I'm replying to a message that was sent to me!! On Thu, 29 Mar 2001, Peter Mount 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? > > PeterM > > > ---------------------------(end of broadcast)--------------------------- > TIP 3: if posting/reading through Usenet, please send an appropriate > subscribe-nomail command to majordomo@postgresql.org so that your > message can get through to the mailing list cleanly > A. James Lewis (james@fsck.co.uk) If your OS needs a virus detector... RUN!!! ...Out and get Linux!