projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8cb8f1
)
doc: Update serial explanation
author
Peter Eisentraut
Mon, 8 Apr 2019 20:03:48 +0000
(22:03 +0200)
committer
Peter Eisentraut
Mon, 8 Apr 2019 20:03:48 +0000
(22:03 +0200)
The CREATE SEQUENCE command should include a data type specification,
since PostgreSQL 10.
Reported-by:
[email protected]
doc/src/sgml/datatype.sgml
patch
|
blob
|
blame
|
history
diff --git
a/doc/src/sgml/datatype.sgml
b/doc/src/sgml/datatype.sgml
index cced57b2a839dd6713fe896f70058bb5ea4cea3d..13b988077a55da0e30bf383304a6a63fc5618d8f 100644
(file)
--- a/
doc/src/sgml/datatype.sgml
+++ b/
doc/src/sgml/datatype.sgml
@@
-880,7
+880,7
@@
CREATE TABLE
tablename
(
is equivalent to specifying:
-CREATE SEQUENCE
tablename
_
colname
_seq;
+CREATE SEQUENCE
tablename
_
colname
_seq
AS integer
;
CREATE TABLE
tablename
(
colname
integer NOT NULL DEFAULT nextval('
tablename
_
colname
_seq')
);