title: Syntax error at or near AS integer when creating a sequence
body: <p>I am getting "error at or near AS integer" in below code when I am trying to execute with psql.</p>
  
  <pre><code>CREATE SEQUENCE public.auth_group_id_seq
      AS integer
      START WITH 1
      INCREMENT BY 1
      NO MINVALUE
      NO MAXVALUE
      CACHE 1;
  </code></pre>
  
  <p>The above sql statement is from the backup file of local machine postgres version 11 and executing in EC2 postgres version 9.3. I am new to postgres and getting no idea as the sql is generated by postgres only so it should work with psql. Thanks in advance.</p>