X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id ADACFD1DB98 for ; Sat, 17 Apr 2004 06:37:12 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 75536-04 for ; Sat, 17 Apr 2004 06:37:13 -0300 (ADT) Received: from anchor-post-31.mail.demon.net (anchor-post-31.mail.demon.net [194.217.242.89]) by svr1.postgresql.org (Postfix) with ESMTP id 67A43D1B4BE for ; Sat, 17 Apr 2004 06:37:10 -0300 (ADT) Received: from mwynhau.demon.co.uk ([193.237.186.96] helo=mainbox.archonet.com) by anchor-post-31.mail.demon.net with esmtp (Exim 3.35 #1) id 1BEmG8-000LoU-0V; Sat, 17 Apr 2004 10:37:12 +0100 Received: from client17.archonet.com (client17.archonet.com [192.168.1.17]) by mainbox.archonet.com (Postfix) with ESMTP id 235F9162D8; Sat, 17 Apr 2004 10:37:11 +0100 (BST) From: Richard Huxton To: "Yudie" , Subject: Re: run application from trigger? Date: Sat, 17 Apr 2004 10:37:10 +0100 User-Agent: KMail/1.5 References: <001601c423f0$6e848bc0$8401a8c0@home.axiontech.com> In-Reply-To: <001601c423f0$6e848bc0$8401a8c0@home.axiontech.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200404171037.10455.dev@archonet.com> X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200404/151 X-Sequence-Number: 17526 On Friday 16 April 2004 21:21, Yudie wrote: > Hi guys, > I would like to create a trigger that execute some applications, > is there a way to create a plpgsql function that execute shell command or > any other way to run an application? > Thanks for your help. Have a rummage for the procedural language pl/sh - I think that is what you need. -- Richard Huxton Archonet Ltd