Skip to content

Commit b5664cf

Browse files
committed
doc: Mention identity column feature in section on serial
Reported-by: Basil Bourque <basil.bourque@pobox.com>
1 parent 35ea756 commit b5664cf

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

doc/src/sgml/datatype.sgml

+8
Original file line numberDiff line numberDiff line change
@@ -837,6 +837,14 @@ FROM generate_series(-3.5, 3.5, 1) as x;
837837
<secondary>and serial type</secondary>
838838
</indexterm>
839839

840+
<note>
841+
<para>
842+
This section describes a PostgreSQL-specific way to create an
843+
autoincrementing column. Another way is to use the SQL-standard
844+
identity column feature, described at <xref linkend="sql-createtable">.
845+
</para>
846+
</note>
847+
840848
<para>
841849
The data types <type>smallserial</type>, <type>serial</type> and
842850
<type>bigserial</type> are not true types, but merely

0 commit comments

Comments
 (0)