Re: Triggers, Rules and email

From: "scott(dot)marlowe" <scott(dot)marlowe(at)ihs(dot)com>
To: Paul <pauljw(at)truswan(dot)com>
Cc: <pgsql-php(at)postgresql(dot)org>
Subject: Re: Triggers, Rules and email
Date: 2004-01-20 17:59:05
Message-ID: Pine.LNX.4.33.0401201057460.15639-100000@css120.ihs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php

On Tue, 20 Jan 2004, Paul wrote:

> Anyone know if I can create a trigger or a rule in Pgsql that will send
> an email in the event of an attempt to update a database field no-one
> should be updating?

Sure, that would involve installing the pl language of your choice as an
untrusted language. PHP can be installed that way as a pl, btw, then you
can just use the mail() trigger function in it.

http://www.commandprompt.com/entry.lxp?lxpe=294

In response to

Responses

Browse pgsql-php by date

  From Date Subject
Next Message Michael Stoyanovich 2004-01-20 19:56:47 Combine/trim records
Previous Message Paul 2004-01-20 17:06:39 Triggers, Rules and email