Fix documentation for CREATE SEQUENCE IF NOT EXISTS.
authorHeikki Linnakangas
Fri, 3 Oct 2014 07:24:10 +0000 (10:24 +0300)
committerHeikki Linnakangas
Fri, 3 Oct 2014 07:25:48 +0000 (10:25 +0300)
The [ IF NOT EXISTS ] was put in wrong place in the syntax.

Pointed out by Marti Raudsepp.

doc/src/sgml/ref/create_sequence.sgml

index 7292c3fa36155bebfde2d45784b5e80c1abda704..9e364ff24099e5a23f7ee610354403a6aa0a78eb 100644 (file)
@@ -21,7 +21,7 @@ PostgreSQL documentation
 
  
 
-CREATE [ TEMPORARY | TEMP ] [ IF NOT EXISTS ] SEQUENCE name [ INCREMENT [ BY ] increment ]
+CREATE [ TEMPORARY | TEMP ] SEQUENCE [ IF NOT EXISTS ] name [ INCREMENT [ BY ] increment ]
     [ MINVALUE minvalue | NO MINVALUE ] [ MAXVALUE maxvalue | NO MAXVALUE ]
     [ START [ WITH ] start ] [ CACHE cache ] [ [ NO ] CYCLE ]
     [ OWNED BY { table_name.column_name | NONE } ]