projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35ea756
)
doc: Mention identity column feature in section on serial
author
Peter Eisentraut
<peter_e@gmx.net>
Tue, 22 Aug 2017 23:55:21 +0000
(19:55 -0400)
committer
Peter Eisentraut
<peter_e@gmx.net>
Tue, 22 Aug 2017 23:55:21 +0000
(19:55 -0400)
Reported-by: Basil Bourque <basil.bourque@pobox.com>
doc/src/sgml/datatype.sgml
patch
|
blob
|
blame
|
history
diff --git
a/doc/src/sgml/datatype.sgml
b/doc/src/sgml/datatype.sgml
index 5f881a0b74bac88a3beb27363e892fab1b2e96b0..512756df4afccbbb4a26c2593aefd9bf635751b1 100644
(file)
--- 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