git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f3567ee)
Make the CREATE RULE syntax description in rules.sgml more consistent
2005年5月20日 01:37:08 +0000 (01:37 +0000)
2005年5月20日 01:37:08 +0000 (01:37 +0000)
with the syntax description in the CREATE RULE reference page. From
Kris Jurka.


diff --git a/doc/src/sgml/rules.sgml b/doc/src/sgml/rules.sgml
index 1ef7b29adbcec018355b729d22149bb34e68460a..f47ac77e69c45ce77832fd5fab3245c8edf9314c 100644 (file)
--- a/doc/src/sgml/rules.sgml
+++ b/doc/src/sgml/rules.sgml
@@ -1,4 +1,4 @@
-<!-- $PostgreSQL: pgsql/doc/src/sgml/rules.sgml,v 1.41 2005年01月29日 23:45:36 tgl Exp $ -->
+<!-- $PostgreSQL: pgsql/doc/src/sgml/rules.sgml,v 1.42 2005年05月20日 01:37:08 neilc Exp $ -->
<chapter id="rules">
<title>The Rule System</title>
@@ -902,9 +902,9 @@ SELECT t1.a, t2.b, t1.ctid FROM t1, t2 WHERE t1.a = t2.a;
Keep the syntax
<programlisting>
-CREATE RULE <replaceable>rule_name</> AS ON <replaceable>event</>
- TO <replaceable>object</> [WHERE <replaceable>rule_qualification</>]
- DO [ALSO|INSTEAD] [<replaceable>action</> | (<replaceable>actions</>) | NOTHING];
+CREATE [ OR REPLACE ] RULE <replaceable class="parameter">name</replaceable> AS ON <replaceable class="parameter">event</replaceable>
+ TO <replaceable class="parameter">table</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> ... ) }
</programlisting>
in mind.
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /