Commit 21258c35 authored by Bruce Momjian's avatar Bruce Momjian

Clean up trigger sgml docs.

parent 362a0f68
...@@ -2,13 +2,12 @@ ...@@ -2,13 +2,12 @@
<title>Triggers</title> <title>Triggers</title>
<para> <para>
<productname>Postgres</productname> has various client interfaces <productname>Postgres</productname> has various server-side function
such as Perl, Tcl, Python and C, as well as three interfaces. Server-side functions can be written in SQL, PLPGSQL,
<firstterm>Procedural Languages</firstterm> TCL, or C. Trigger functions can be written in any of these
(PL). It is also possible languages. Note that STATEMENT-level trigger events are not supported
to call C functions as trigger actions. Note that STATEMENT-level trigger in the current version. You can currently specify BEFORE or AFTER on
events are not supported in the current version. You can currently specify INSERT, DELETE or UPDATE of a tuple as a trigger event.
BEFORE or AFTER on INSERT, DELETE or UPDATE of a tuple as a trigger event.
</para> </para>
<sect1> <sect1>
...@@ -98,7 +97,7 @@ CREATE TRIGGER <replaceable>trigger</replaceable> [ BEFORE | AFTER ] [ INSERT | ...@@ -98,7 +97,7 @@ CREATE TRIGGER <replaceable>trigger</replaceable> [ BEFORE | AFTER ] [ INSERT |
<term><replaceable>procedure</replaceable></term> <term><replaceable>procedure</replaceable></term>
<listitem> <listitem>
<para> <para>
The procedure name is the C function called. The procedure name is the function called.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment