X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 8C4EDD1D541 for ; Mon, 12 Jan 2004 16:34:31 +0000 (GMT) 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 99562-05 for ; Mon, 12 Jan 2004 12:34:00 -0400 (AST) Received: from curie.credativ.org (credativ.com [217.160.209.18]) by svr1.postgresql.org (Postfix) with ESMTP id B61CAD1B467 for ; Mon, 12 Jan 2004 12:33:59 -0400 (AST) Received: from localhost (localhost [127.0.0.1]) by curie.credativ.org (Postfix) with ESMTP id BA79456243; Mon, 12 Jan 2004 17:33:53 +0100 (CET) Received: from colt.pezone.net (dsl-213-023-254-001.arcor-ip.net [213.23.254.1]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by curie.credativ.org (Postfix) with ESMTP id 24AC45623C; Mon, 12 Jan 2004 17:33:53 +0100 (CET) From: Peter Eisentraut To: beyaRecords - The home Urban music , pgsql-sql@postgresql.org Subject: Re: Triggers Date: Mon, 12 Jan 2004 17:33:54 +0100 User-Agent: KMail/1.5.1 References: <6282673D-451A-11D8-A851-0003938366A4@beya-records.com> In-Reply-To: <6282673D-451A-11D8-A851-0003938366A4@beya-records.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200401121733.54082.peter_e@gmx.net> X-Virus-Scanned: by AMaViS at credativ.com X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200401/95 X-Sequence-Number: 16488 beyaRecords - The home Urban music wrote: > does postgresql support the ability to email as in SQL Server? I want > to create a trigger which on input of a record will send out an > email. Is this possible? Write a trigger function in, say, PL/PerlU or PL/sh and have it send the email with the usual Perl or shell commands.