Commit 0993b8ad authored by Michael Paquier's avatar Michael Paquier

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
parent 051a1494
...@@ -901,11 +901,11 @@ ...@@ -901,11 +901,11 @@
</indexterm> </indexterm>
<para> <para>
The catalog <structname>pg_attrdef</structname> stores column default values. The main information The catalog <structname>pg_attrdef</structname> stores column default
about columns is stored in <structname>pg_attribute</structname> values. The main information about columns is stored in
(see below). Only columns that explicitly specify a default value <link linkend="catalog-pg-attribute"><structname>pg_attribute</structname></link>.
(when the table is created or the column is added) will have an Only columns for which a default value has been explicitly set will have
entry here. an entry here.
</para> </para>
<table> <table>
......
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