From c66000385fe1dc94a6d5525dcd192f17b551fb9b Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Mon, 8 Apr 2019 22:03:48 +0200 Subject: [PATCH] doc: Update serial explanation The CREATE SEQUENCE command should include a data type specification, since PostgreSQL 10. Reported-by: mjf@pearson.co.uk --- doc/src/sgml/datatype.sgml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/src/sgml/datatype.sgml b/doc/src/sgml/datatype.sgml index cced57b2a8..13b988077a 100644 --- 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') ); -- 2.40.0