]> granicus.if.org Git - postgresql/commitdiff
Improve description of pg_attrdef in documentation
authorMichael Paquier <michael@paquier.xyz>
Mon, 29 Oct 2018 07:38:54 +0000 (16:38 +0900)
committerMichael Paquier <michael@paquier.xyz>
Mon, 29 Oct 2018 07:38:54 +0000 (16:38 +0900)
The reference to pg_attribute is switched to a link, which is more
useful for the html documentation.  The conditions under which a default
value is defined for a given column are made more general.

Author: Daniel Gustafsson
Reviewed-by: Tom Lane
Discussion: https://postgr.es/m/0E8748E3-8B7D-445E-9ABA-09DA5C7345CC@yesql.se

doc/src/sgml/catalogs.sgml

index 9edba96fabb0dd5dd6f0e339ededd70b3b94141b..4256516c0857fe7c5a673b48535b0a743a65da5b 100644 (file)
   </indexterm>
 
   <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.
+   The catalog <structname>pg_attrdef</structname> stores column default
+   values.  The main information 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>