-----Original Message-----
From: pgsql-general-owner@postgresql.org
[mailto:pgsql-general-owner@postgresql.org] On Behalf Of Christophe Pettus
>On Aug 11, 2009, at 12:19 AM, Jan Verheyden wrote:
>> I was looking in what way it's possible to alert via mail when some
>> conditions are true in a database.
>An external script that connects to the database, checks for the
>condition, and sends the email if it exists is probably your best
>solution. You might want to take a look at check_postgres:
> http://bucardo.org/check_postgres/
I would look forward to having such a feature in Postgres actually. Right
now, I'm using cron to do those checks.