|
2 | 2 | <title>Triggers</title>
|
3 | 3 |
|
4 | 4 | <para>
|
5 |
| - <productname>Postgres</productname> has various client interfaces |
6 |
| - such as Perl, Tcl, Python and C, as well as three |
7 |
| - <firstterm>Procedural Languages</firstterm> |
8 |
| - (PL). It is also possible |
9 |
| - to call C functions as trigger actions. Note that STATEMENT-level trigger |
10 |
| - events are not supported in the current version. You can currently specify |
11 |
| - BEFORE or AFTER on INSERT, DELETE or UPDATE of a tuple as a trigger event. |
| 5 | + <productname>Postgres</productname> has various server-side function |
| 6 | + interfaces. Server-side functions can be written in SQL, PLPGSQL, |
| 7 | + TCL, or C. Trigger functions can be written in any of these |
| 8 | + languages. Note that STATEMENT-level trigger events are not supported |
| 9 | + in the current version. You can currently specify BEFORE or AFTER on |
| 10 | + INSERT, DELETE or UPDATE of a tuple as a trigger event. |
12 | 11 | </para>
|
13 | 12 |
|
14 | 13 | <sect1>
|
@@ -98,7 +97,7 @@ CREATE TRIGGER <replaceable>trigger</replaceable> [ BEFORE | AFTER ] [ INSERT |
|
98 | 97 | <term><replaceable>procedure</replaceable></term>
|
99 | 98 | <listitem>
|
100 | 99 | <para>
|
101 |
| -The procedure name is theCfunction called. |
| 100 | +The procedure name is the function called. |
102 | 101 | </para>
|
103 | 102 | </listitem>
|
104 | 103 | </varlistentry>
|
|