diff options
author | Peter Eisentraut | 2017-08-22 23:55:21 +0000 |
---|---|---|
committer | Peter Eisentraut | 2017-08-22 23:55:21 +0000 |
commit | b5664cfd4c17eb69e6d7356ce670cc4a98074d13 (patch) | |
tree | cef7b6a2be29571e8921b9c715f6d2100b1f22d5 /doc/src | |
parent | 35ea75632a56ca8ef22aa8fed03b9dabb9c8c575 (diff) |
doc: Mention identity column feature in section on serial
Reported-by: Basil Bourque <basil.bourque@pobox.com>
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/datatype.sgml | 8 |
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 |