summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2017-08-22 19:55:21 -0400
committerPeter Eisentraut <peter_e@gmx.net>2017-08-22 19:56:16 -0400
commitadce8912e63ade2ca5bba674fcbad860a73888fd (patch)
tree929ca59902f6dec61e5e76b1cb1501726d22ddea
parentd34a74dd064af959acd9040446925d9d53dff15b (diff)
doc: Mention identity column feature in section on serial
Reported-by: Basil Bourque <basil.bourque@pobox.com>
-rw-r--r--doc/src/sgml/datatype.sgml8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/src/sgml/datatype.sgml b/doc/src/sgml/datatype.sgml
index 5f881a0b74b..512756df4af 100644
--- a/doc/src/sgml/datatype.sgml
+++ b/doc/src/sgml/datatype.sgml
@@ -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