Hello,

While reading the documentation I spotted a minor glitch in the section "rules-views"

The reference at the bottom stating "That is the topic of the next section." is incorrect since the materialized views documentation got inserted between the section "rules-views" and "rules-update".

Attached is a small patch that fixes it by linking to the relevant section. (the patch should be applicable with "patch -p1" from the root dir of the postgres repo)

Regards,

Marc

diff --git a/doc/src/sgml/rules.sgml b/doc/src/sgml/rules.sgml
index ca1b767..bcbc170 100644
--- a/doc/src/sgml/rules.sgml
+++ b/doc/src/sgml/rules.sgml
@@ -862,7 +862,7 @@ SELECT t1.a, t2.b, t1.ctid FROM t1, t2 WHERE t1.a = t2.a;
     <command>UPDATE</command>, and <command>DELETE</command> commands on
     a view. These rules will rewrite the command, typically into a command
     that updates one or more tables, rather than views. That is the topic
-    of the next section.
+    of <xref linkend="rules-update">.
 </para>

 <para>
-- 
Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs

Reply via email to