projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b5bbe4
)
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:07:18 +0000
(22:07 +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 690e415e2c27031bfc73fadadeadab8fe891ba98..90e46ba035fbbc432ccef93696fe036ed308706f 100644
(file)
--- a/
doc/src/sgml/datatype.sgml
+++ b/
doc/src/sgml/datatype.sgml
@@
-861,7
+861,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')
);