summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Paquier2018-10-29 07:38:54 +0000
committerMichael Paquier2018-10-29 07:38:54 +0000
commit0993b8ada53395a8c8a59401a7b4cfb501f6aaef (patch)
tree3a654c23bc0846ec5d29483bb804acbbfc6f97b1
parent051a1494bd31fbb743c23d39299da6933847afb5 (diff)
Improve description of pg_attrdef in documentation
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
-rw-r--r--doc/src/sgml/catalogs.sgml10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/src/sgml/catalogs.sgml b/doc/src/sgml/catalogs.sgml
index 9edba96fabb..4256516c085 100644
--- a/doc/src/sgml/catalogs.sgml
+++ b/doc/src/sgml/catalogs.sgml
@@ -901,11 +901,11 @@
</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>