mirror of
https://github.com/postgres/postgres.git
synced 2025-06-03 01:21:48 +03:00
doc: Mention identity column feature in section on serial
Reported-by: Basil Bourque <basil.bourque@pobox.com>
This commit is contained in:
parent
d34a74dd06
commit
adce8912e6
@ -837,6 +837,14 @@ FROM generate_series(-3.5, 3.5, 1) as x;
|
|||||||
<secondary>and serial type</secondary>
|
<secondary>and serial type</secondary>
|
||||||
</indexterm>
|
</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>
|
<para>
|
||||||
The data types <type>smallserial</type>, <type>serial</type> and
|
The data types <type>smallserial</type>, <type>serial</type> and
|
||||||
<type>bigserial</type> are not true types, but merely
|
<type>bigserial</type> are not true types, but merely
|
||||||
|
Loading…
x
Reference in New Issue
Block a user