Triggers
-
Postgres has various client interfaces
- such as Perl, Tcl, Python and C, as well as three
- Procedural Languages
- (PL). It is also possible
- to call C functions as trigger actions. Note that STATEMENT-level trigger
- events are not supported in the current version. You can currently specify
- BEFORE or AFTER on INSERT, DELETE or UPDATE of a tuple as a trigger event.
+
Postgres has various server-side function
+ interfaces. Server-side functions can be written in SQL, PLPGSQL,
+ TCL, or C. Trigger functions can be written in any of these
+ languages. Note that STATEMENT-level trigger events are not supported
+ in the current version. You can currently specify BEFORE or AFTER on
+ INSERT, DELETE or UPDATE of a tuple as a trigger event.
procedure
- The procedure name is the C function called.
+ The procedure name is the function called.