Received: from news.tht.net (news.hub.org [216.126.91.242]) by postgresql.org (8.11.3/8.11.4) with ESMTP id f8AGX2785393 for ; Mon, 10 Sep 2001 12:33:02 -0400 (EDT) (envelope-from news@news.tht.net) Received: (from news@localhost) by news.tht.net (8.11.4/8.11.4) id f8AGHUY61627 for pgsql-sql@postgresql.org; Mon, 10 Sep 2001 12:17:30 -0400 (EDT) (envelope-from news) From: "Jeff Barrett" X-Newsgroups: comp.databases.postgresql.sql Subject: calling a shell script from pl/pgsql Date: Mon, 10 Sep 2001 12:14:13 -0400 Organization: Hub.Org Networking Services (http://www.hub.org) Lines: 12 Message-ID: <9nip2p$1s5o$1@news.tht.net> X-Complaints-To: scrappy@hub.org X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 To: pgsql-sql@postgresql.org X-Archive-Number: 200109/35 X-Sequence-Number: 4681 How can I call a shell script from within a pl/pgsql function that is called as from a trigger. I do not want to interact with the script I just want it to run. I do want the trigger to wait for the script it called to complete before returning a value. Any ideas would be greatly appreciated. Thanks, Jeff Barrett