Thread: Getting a trigger to call a function...

Getting a trigger to call a function...

From
graeme
Date:
I'm trying to get a trigger to call a function, without success. Could
someone please direct me to some documentation that would help.

The trigger is called CUpdate() and on the Schema "CIS-Live"
The function is called Log(<some parameters>) and is on the Schema "Logging"

thanks,

graeme.


Re: Getting a trigger to call a function...

From
Michael Fuhr
Date:
On Tue, Nov 09, 2004 at 03:36:01PM +0600, graeme wrote:

> I'm trying to get a trigger to call a function, without success. Could
> someone please direct me to some documentation that would help.

We can provide better help if you show what you're doing, describe
what you expect to happen, and show what actually does happen.

The PostgreSQL documentation is here:

http://www.postgresql.org/docs/

Here are some sections concerning triggers:

http://www.postgresql.org/docs/7.4/static/triggers.html
http://www.postgresql.org/docs/7.4/static/plpgsql-trigger.html
http://www.postgresql.org/docs/7.4/static/sql-createtrigger.html

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/