Commit c27bf777 authored by Bruce Momjian's avatar Bruce Momjian

doc: improve CREATE RULE event list

Patch by Fujii Masao

Report by Emanuel Calvo
parent 2985e160
...@@ -24,6 +24,10 @@ PostgreSQL documentation ...@@ -24,6 +24,10 @@ PostgreSQL documentation
CREATE [ OR REPLACE ] RULE <replaceable class="parameter">name</replaceable> AS ON <replaceable class="parameter">event</replaceable> 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> ] 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> ... ) } 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> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
......
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