Received: from mailout00.sul.t-online.com (mailout00.sul.t-online.com [194.25.134.16]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f2TGmwK48346 for ; Thu, 29 Mar 2001 11:48:58 -0500 (EST) (envelope-from peter_e@gmx.net) Received: from fwd06.sul.t-online.com by mailout00.sul.t-online.com with smtp id 14ifbK-0000Vb-07; Thu, 29 Mar 2001 18:48:46 +0200 Received: from peter.localdomain (520083510237-0001@[212.185.245.126]) by fmrl06.sul.t-online.com with esmtp id 14ifb5-0oL368C; Thu, 29 Mar 2001 18:48:31 +0200 Date: Thu, 29 Mar 2001 18:59:00 +0200 (CEST) From: Peter Eisentraut To: A James Lewis cc: Peter Mount , Mathijs Brands , Subject: Re: Calling Java from psql (was Re: requesting help) In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Sender: 520083510237-0001@t-dialin.net X-Archive-Number: 200103/612 X-Sequence-Number: 2283 A James Lewis writes: > Before I go investigating this, is it possible to trigger an arbitrary > program from the SQL, say a shell script? At the lowest level, you can generally do anything a C program can do. Writing the equivalent of system() in SQL should be rather trivial. You can also take a look at my little toy project PL/sh: http://www.postgresql.org/~petere/plsh.html -- Peter Eisentraut peter_e@gmx.net http://yi.org/peter-e/