summaryrefslogtreecommitdiff
path: root/doc/src/sgml/rules.sgml
diff options
context:
space:
mode:
authorThomas G. Lockhart <lockhart@fourpalms.org>1998-03-01 08:16:16 +0000
committerThomas G. Lockhart <lockhart@fourpalms.org>1998-03-01 08:16:16 +0000
commitc8cfb0cea88fec22f5aa0582fe846b46baf77eb1 (patch)
treeeb009c5363c2d5d8f7d99e6264c2a282d4ad7e58 /doc/src/sgml/rules.sgml
parent878531f1ac8a288fdd04c7c41ac2f02d2506bcb7 (diff)
downloadpostgresql-c8cfb0cea88fec22f5aa0582fe846b46baf77eb1.tar.gz
SGML source for new documentation.
Diffstat (limited to 'doc/src/sgml/rules.sgml')
-rw-r--r--doc/src/sgml/rules.sgml28
1 files changed, 28 insertions, 0 deletions
diff --git a/doc/src/sgml/rules.sgml b/doc/src/sgml/rules.sgml
new file mode 100644
index 0000000000..2dabb3ca35
--- /dev/null
+++ b/doc/src/sgml/rules.sgml
@@ -0,0 +1,28 @@
+<Chapter>
+<Title>The <ProductName>Postgres</ProductName> Rule System</Title>
+
+<Para>
+ Production rule systems are conceptually simple, but
+ there are many subtle points involved in actually using
+ them. Consequently, we will not attempt to explain the
+ actual syntax and operation of the <ProductName>Postgres</ProductName> rule system
+ here. Instead, you should read
+<XRef LinkEnd="STON90b" EndTerm="[STON90b]"> to understand
+ some of these points and the theoretical foundations of
+ the <ProductName>Postgres</ProductName> rule system before trying to use rules.
+ The discussion in this section is intended to provide
+ an overview of the <ProductName>Postgres</ProductName> rule system and point the
+ user at helpful references and examples.
+
+ The "query rewrite" rule system modifies queries to
+ take rules into consideration, and then passes the modified
+ query to the query optimizer for execution. It
+ is very powerful, and can be used for many things such
+ as query language procedures, views, and versions. The
+ power of this rule system is discussed in
+<XRef LinkEnd="ONG90" EndTerm="[ONG90]">
+ as well as
+<XRef LinkEnd="STON90b" EndTerm="[STON90b]">.
+</Para>
+
+</Chapter>