|
1 | 1 | <!-- |
2 | | -$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_rule.sgml,v 1.31 2002/01/24 18:28:15 tgl Exp $ |
| 2 | +$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_rule.sgml,v 1.32 2002/03/10 06:00:13 momjian Exp $ |
3 | 3 | PostgreSQL documentation |
4 | 4 | --> |
5 | 5 |
|
@@ -32,8 +32,6 @@ NOTHING |
32 | 32 | <replaceable class="parameter">query</replaceable> |
33 | 33 | | |
34 | 34 | ( <replaceable class="parameter">query</replaceable> ; <replaceable class="parameter">query</replaceable> ... ) |
35 | | -| |
36 | | -[ <replaceable class="parameter">query</replaceable> ; <replaceable class="parameter">query</replaceable> ... ] |
37 | 35 | </synopsis> |
38 | 36 |
|
39 | 37 | <refsect2 id="R2-SQL-CREATERULE-1"> |
@@ -177,15 +175,15 @@ CREATE |
177 | 175 | </para> |
178 | 176 |
|
179 | 177 | <para> |
180 | | - The <replaceable class="parameter">action</replaceable> part of the rule |
181 | | - can consist of one or more queries.To write multiple queries, surround |
182 | | - them witheitherparentheses or square brackets.Such queries will be |
183 | | -performed in thespecified order (whereas there are no guarantees about |
184 | | -the executionorder of multiple rules for an object).The |
185 | | -<replaceableclass="parameter">action</replaceable> can also be NOTHING |
186 | | -indicatingno action.Thus, a DO INSTEAD NOTHING rule suppresses the |
187 | | -originalquery from executing (when its condition is true); a DO NOTHING |
188 | | -ruleis useless. |
| 178 | + The <replaceable class="parameter">action</replaceable> part of the |
| 179 | +rulecan consist of one or more queries. To write multiple queries, |
| 180 | +surroundthem with parentheses.Such queries will be performed in the |
| 181 | + specified order (whereas there are no guarantees about the execution |
| 182 | + order of multiple rules for an object). The <replaceable |
| 183 | + class="parameter">action</replaceable> can also be NOTHING indicating |
| 184 | + no action. Thus, a DO INSTEAD NOTHING rule suppresses the original |
| 185 | + query from executing (when its condition is true); a DO NOTHING rule |
| 186 | + is useless. |
189 | 187 | </para> |
190 | 188 |
|
191 | 189 | <para> |
|