From 984059ddae5f6009dcc3ff83a35843bf83a2091a Mon Sep 17 00:00:00 2001
From: Daniel Gustafsson <daniel@yesql.se>
Date: Sun, 21 Oct 2018 22:12:26 +0200
Subject: [PATCH] Turn a textual reference into an actual link

The "see below" reference to pg_attribute in the pg_attrdef docs is
a bit misleading in a web rendering, as there is no content below but
instead on another page. This changes the textual link into an actual
link to it clearer. Also reword sentence describing which columns are
represented in the catalog.
---
 doc/src/sgml/catalogs.sgml | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/doc/src/sgml/catalogs.sgml b/doc/src/sgml/catalogs.sgml
index 6d6fbecd12..b02494be8a 100644
--- a/doc/src/sgml/catalogs.sgml
+++ b/doc/src/sgml/catalogs.sgml
@@ -902,10 +902,9 @@
 
   <para>
    The catalog <structname>pg_attrdef</structname> stores column default values.  The main information
-   about columns is stored in <structname>pg_attribute</structname>
-   (see below).  Only columns that explicitly specify a default value
-   (when the table is created or the column is added) will have an
-   entry here.
+   about columns is stored in <link linkend="catalog-pg-attribute"><structname>pg_attribute</structname></link>.
+   Only columns for which a default value has been explicitly set will have
+   an entry here.
   </para>
 
   <table>
-- 
2.14.1.145.gb3622a4ee

