Updated sequence syntax

From: Thom Brown <thom(at)linux(dot)com>
To: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Updated sequence syntax
Date: 2011-07-03 18:23:48
Message-ID: CAA-aLv4TtC9a9TA5uUjjdSJsvCQKc-uXe6DVQCRS0YFKc_C61Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 Content-Type Size
sequence_syntax_update.patch text/x-patch 2.4 KB

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Guillaume Lelarge 2011-07-03 21:18:41 pgAdmin III commit: Wrap SQL lines for ALTER commands
Previous Message Thom Brown 2011-07-03 14:10:55 [BUG] Index operator class + collation = bad SQL