Updated sequence syntax - Mailing list pgadmin-hackers

From Thom Brown
Subject Updated sequence syntax
Date
Msg-id CAA-aLv4TtC9a9TA5uUjjdSJsvCQKc-uXe6DVQCRS0YFKc_C61Q@mail.gmail.com
Whole thread Raw
Responses Re: Updated sequence syntax  (Guillaume Lelarge <guillaume@lelarge.info>)
List pgadmin-hackers
Hi,

I noticed that altering sequences still uses the old ALTER TABLE
syntax.  While that's required for older versions, it's not anymore.
Attached a patch to use most up-to-date syntax for each version.  This
is based on the previous newline patch having already been applied.

Obviously this won't enable anything to work that didn't previously,
but just thought it would be nice to use more suitable syntax.

--
Thom Brown
Twitter: @darkixion
IRC (freenode): dark_ixion
Registered Linux user: #516935

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

Attachment

pgadmin-hackers by date:

Previous
From: Thom Brown
Date:
Subject: [BUG] Index operator class + collation = bad SQL
Next
From: Guillaume Lelarge
Date:
Subject: pgAdmin III commit: Wrap SQL lines for ALTER commands