]> granicus.if.org Git - postgresql/commitdiff
doc: improve CREATE RULE event list
authorBruce Momjian <bruce@momjian.us>
Tue, 22 Apr 2014 21:54:42 +0000 (17:54 -0400)
committerBruce Momjian <bruce@momjian.us>
Tue, 22 Apr 2014 21:54:42 +0000 (17:54 -0400)
Patch by Fujii Masao

Report by Emanuel Calvo

doc/src/sgml/ref/create_rule.sgml

index d3212b5e5a02e888517a02ec51adfa814161c3a5..677766a2d5e3659b15b122a02503f16f63c6c5b9 100644 (file)
@@ -24,6 +24,10 @@ PostgreSQL documentation
 CREATE [ OR REPLACE ] RULE <replaceable class="parameter">name</replaceable> AS ON <replaceable class="parameter">event</replaceable>
     TO <replaceable class="parameter">table_name</replaceable> [ WHERE <replaceable class="parameter">condition</replaceable> ]
     DO [ ALSO | INSTEAD ] { NOTHING | <replaceable class="parameter">command</replaceable> | ( <replaceable class="parameter">command</replaceable> ; <replaceable class="parameter">command</replaceable> ... ) }
+
+<phrase>where <replaceable class="parameter">event</replaceable> can be one of:</phrase>
+
+    SELECT | INSERT | UPDATE | DELETE
 </synopsis>
  </refsynopsisdiv>