X-Original-To: pgsql-sql@postgresql.org Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 15871475A7F for ; Mon, 17 Feb 2003 01:15:10 -0500 (EST) Received: from mail.sebasasia.com (unknown [203.115.208.204]) by postgresql.org (Postfix) with ESMTP id 735B7475A5C for ; Mon, 17 Feb 2003 01:15:08 -0500 (EST) Message-ID: <001e01c2d64c$2ab838d0$f92c2c0a@davidloh> From: "David Loh" To: Subject: Trigger that will execute external program Date: Mon, 17 Feb 2003 14:16:44 +0800 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_001B_01C2D68F.332511D0" X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200302/363 X-Sequence-Number: 11761 This is a multi-part message in MIME format. ------=_NextPart_000_001B_01C2D68F.332511D0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi all. I'd like to know if postgresql has the capability of execute external progr= am with the trigger, for example, I had a trigger call "exceed_limit", when= this trigger has fire, instead of update other relations, it will also exe= cute a external program '/bin/send_email', is that possble ? If it's possible, can any of you guy please show me how to do it ? Thanks in advance. ------=_NextPart_000_001B_01C2D68F.332511D0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi all.
I'd like to know if postgresql has the cap= ability=20 of execute external program with the trigger, for example, I had a trigger = call=20 "exceed_limit", when this trigger has fire, instead of update other relatio= ns,=20 it will also execute a external program '/bin/send_email', is that possble= =20 ?
If it's possible, can any of you guy pleas= e show me=20 how to do it ?
Thanks in advance.
------=_NextPart_000_001B_01C2D68F.332511D0--