mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-27 08:39:28 +08:00
44 lines
1.5 KiB
HTML
44 lines
1.5 KiB
HTML
<HTML>
|
|
<HEAD>
|
|
<TITLE>The POSTGRES95 User Manual - THE POSTGRES RULE SYSTEM</TITLE>
|
|
</HEAD>
|
|
|
|
<BODY>
|
|
|
|
<font size=-1>
|
|
<A HREF="pg95user.html">[ TOC ]</A>
|
|
<A HREF="lobj.html">[ Previous ]</A>
|
|
<A HREF="admin.html">[ Next ]</A>
|
|
</font>
|
|
<HR>
|
|
<H1>14. THE POSTGRES RULE SYSTEM
|
|
</H1><HR>
|
|
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 POSTGRES rule system
|
|
here. Instead, you should read <A HREF="refs.html#STON90b">[STON90b]</A> to understand
|
|
some of these points and the theoretical foundations of
|
|
the POSTGRES rule system before trying to use rules.
|
|
The discussion in this section is intended to provide
|
|
an overview of the POSTGRES 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
|
|
<A HREF="refs.html#ONG90">[ONG90]</A> as
|
|
well as <A HREF="refs.html#STON90b">[STON90b]</A>.
|
|
<HR>
|
|
<font size=-1>
|
|
<A HREF="pg95user.html">[ TOC ]</A>
|
|
<A HREF="lobj.html">[ Previous ]</A>
|
|
<A HREF="admin.html">[ Next ]</A>
|
|
</font>
|
|
</BODY>
|
|
</HTML>
|
|
|
|
|