Using triggers with non-C functions - Mailing list pgsql-hackers

From Bruce Momjian
Subject Using triggers with non-C functions
Date
Msg-id 200005171706.NAA26785@candle.pha.pa.us
Whole thread Raw
Responses Re: Using triggers with non-C functions  (Alex Perel <veers@webhosting.com>)
List pgsql-hackers
Now that I know that triggers can call non-C functions, I would like to
know how non-C functions access information about the triggered row.

I see plpgsql has an interface to the trigger information.  Do SQL
functions us OLD/NEW to reference that information, like they do in
rules?

The trigger programmers guide page says PROCEDURE is a C function, so I
will need to correct that:
Procedure     The procedure name is the C function called. 


--  Bruce Momjian                        |  http://www.op.net/~candle pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: Lamar Owen
Date:
Subject: Re: 7.0 RPMS and syslog problem. (more)
Next
From: Peter Eisentraut
Date:
Subject: Re: ODBC & v7.0(Rel) Errors with Users and Databases