doc: Mention identity column feature in section on serial

Reported-by: Basil Bourque <basil.bourque@pobox.com>
This commit is contained in:
Peter Eisentraut 2017-08-22 19:55:21 -04:00
parent 35ea75632a
commit b5664cfd4c

View File

@ -837,6 +837,14 @@ FROM generate_series(-3.5, 3.5, 1) as x;
<secondary>and serial type</secondary>
</indexterm>
<note>
<para>
This section describes a PostgreSQL-specific way to create an
autoincrementing column. Another way is to use the SQL-standard
identity column feature, described at <xref linkend="sql-createtable">.
</para>
</note>
<para>
The data types <type>smallserial</type>, <type>serial</type> and
<type>bigserial</type> are not true types, but merely