Skip to content

Commit d1a2a01

Browse files
committed
Add mention of no SELECT triggers.
1 parent 636a939 commit d1a2a01

File tree

1 file changed

+17
-15
lines changed

1 file changed

+17
-15
lines changed

doc/src/sgml/ref/create_trigger.sgml

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_trigger.sgml,v 1.18 2001/11/19 03:58:25 tgl Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_trigger.sgml,v 1.19 2001/11/29 22:18:14 momjian Exp $
33
Postgres documentation
44
-->
55

@@ -117,20 +117,22 @@ CREATE
117117
</para>
118118

119119
<para>
120-
The trigger can be specified to fire either before BEFORE the
121-
operation is attempted on a tuple (before constraints
122-
are checked and the <command>INSERT</command>, <command>UPDATE</command> or
123-
<command>DELETE</command> is attempted) or
124-
AFTER the operation has been attempted (e.g., after constraints
125-
are checked and the <command>INSERT</command>,
126-
<command>UPDATE</command> or <command>DELETE</command> has
127-
completed). If the
128-
trigger fires before the event, the trigger may
129-
skip the operation for the current tuple, or change the tuple
130-
being inserted (for <command>INSERT</command> and
131-
<command>UPDATE</command> operations only). If
132-
the trigger fires after the event, all changes, including the
133-
last insertion, update, or deletion, are <quote>visible</quote> to the trigger.
120+
The trigger can be specified to fire either before BEFORE the
121+
operation is attempted on a tuple (before constraints are checked and
122+
the <command>INSERT</command>, <command>UPDATE</command> or
123+
<command>DELETE</command> is attempted) or AFTER the operation has
124+
been attempted (e.g., after constraints are checked and the
125+
<command>INSERT</command>, <command>UPDATE</command> or
126+
<command>DELETE</command> has completed). If the trigger fires before
127+
the event, the trigger may skip the operation for the current tuple,
128+
or change the tuple being inserted (for <command>INSERT</command> and
129+
<command>UPDATE</command> operations only). If the trigger fires
130+
after the event, all changes, including the last insertion, update,
131+
or deletion, are <quote>visible</quote> to the trigger.
132+
</para>
133+
<para>
134+
<command>SELECT</command> does not modify any rows so you can not
135+
create <command>SELECT</command> triggers.
134136
</para>
135137

136138
<para>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy