diff --git a/doc/src/sgml/datatype.sgml b/doc/src/sgml/datatype.sgml
index 6fdcc12661..281fdb6d60 100644
--- 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')
);