Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 6EBB26337C2 for ; Wed, 12 Aug 2009 03:15:06 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 64769-03 for ; Wed, 12 Aug 2009 06:15:03 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-yw0-f183.google.com (mail-yw0-f183.google.com [209.85.211.183]) by mail.postgresql.org (Postfix) with ESMTP id 48436632B7F for ; Wed, 12 Aug 2009 03:15:03 -0300 (ADT) Received: by ywh13 with SMTP id 13so5370498ywh.15 for ; Tue, 11 Aug 2009 23:15:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=zbPWHq0mClGmfZR6fyXsvcUItoRCsoQWorGjivmd2M4=; b=CAorCl2wCqBefZydDvxFGBLo9y3iyCg8zUPPaGXgNywlHt/5SvWKyKJ9wEQgVeWpyP tU781UYshx1J2Khl4LB0teXpd2npBtc3/hTeGXQI9oPrnxJiI/hLveSR34MfMzoz8cex GOjK6esSCBjQ+btotryan8VDzMEWMypWBmxxI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=s1Hbty7RIEBmhJqQT9CJKQ8YOIjDGNsx6tWssrpASMKjCROotsnwyJpwTi1lcXg80V nx9WtZCcvrBjHCwSkjQNXu4PdVGLt7VTo+0KBL5vWSlP534NApeWZryTIw22PPp6KQEX /8hD6k74iJonjZ2YVoWbOie8IuaveVGM7YO5Q= MIME-Version: 1.0 Received: by 10.91.161.39 with SMTP id n39mr388344ago.88.1250057702497; Tue, 11 Aug 2009 23:15:02 -0700 (PDT) In-Reply-To: References: Date: Wed, 12 Aug 2009 16:15:02 +1000 Message-ID: Subject: Re: mail alert From: Shoaib Mir To: ramasubramanian Cc: Jan Verheyden , pgsql-sql@postgresql.org Content-Type: multipart/alternative; boundary=0016362844c64e5f930470ebbded X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.598 tagged_above=-10 required=5 tests=BAYES_00=-2.599, HTML_MESSAGE=0.001 X-Spam-Level: X-Archive-Number: 200908/56 X-Sequence-Number: 32965 --0016362844c64e5f930470ebbded Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable > ----- Original Message ----- > *From:* Jan Verheyden > *To:* 'pgsql-sql@postgresql.org' <%27pgsql-sql@postgresql.org%27> > *Sent:* Tuesday, August 11, 2009 6:31 PM > *Subject:* [SQL] mail alert > > Hi All, > > > > I was looking in what way it=92s possible to alert via mail when some > conditions are true in a database. > > > > I guess you might be able to do that by using PLPython, PLPerl or PLTcl and using the standard functions for doing emails in there. --=20 Shoaib Mir http://shoaibmir.wordpress.com/ --0016362844c64e5f930470ebbded Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable
----- Original Message -----
From:=20 Jan Verheyden
Sent: Tuesday, August 11, 2009 6:3= 1=20 PM
Subject: [SQL] mail alert

Hi All,

=A0

I was looking in what way it=92s possible to alert via mail=20 when some conditions are true in a database.

=A0


I guess you might be able = to do that by using PLPython, PLPerl or PLTcl and using the standard functi= ons for doing emails in there.

--
Shoaib Mir
http://shoaibmir.wordpress.com/=
--0016362844c64e5f930470ebbded--