Commit 479cba83 authored by Tatsuo Ishii's avatar Tatsuo Ishii

Example rules do not work.

CREATE RULE bad_rule_combination_1 AS
    ON SELECT TO emp
    DO INSTEAD
        SELECT * FROM toyemp;

CREATE RULE bad_rule_combination_2 AS
    ON SELECT TO toyemp
    DO INSTEAD
        SELECT * FROM emp;

	Tatsuo Ishii
parent 3f45796c
<!-- <!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_rule.sgml,v 1.26 2001/09/07 20:52:30 tgl Exp $ $Header: /cvsroot/pgsql/doc/src/sgml/ref/create_rule.sgml,v 1.27 2001/09/14 08:19:55 ishii Exp $
Postgres documentation Postgres documentation
--> -->
...@@ -228,14 +228,14 @@ CREATE ...@@ -228,14 +228,14 @@ CREATE
<example> <example>
<title>Example of a circular rewrite rule combination:</title> <title>Example of a circular rewrite rule combination:</title>
<programlisting> <programlisting>
CREATE RULE bad_rule_combination_1 AS CREATE RULE "_RETemp" AS
ON SELECT TO emp ON SELECT TO emp
DO INSTEAD DO INSTEAD
SELECT * FROM toyemp; SELECT * FROM toyemp;
</programlisting> </programlisting>
<programlisting> <programlisting>
CREATE RULE bad_rule_combination_2 AS CREATE RULE "_RETtoyemp" AS
ON SELECT TO toyemp ON SELECT TO toyemp
DO INSTEAD DO INSTEAD
SELECT * FROM emp; SELECT * FROM emp;
......
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