Ticket 242: Add support for 9.1 ALTER TYPE new syntax

From: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
To: pgadmin-hackers(at)postgresql(dot)org
Subject: Ticket 242: Add support for 9.1 ALTER TYPE new syntax
Date: 2010-10-28 16:12:07
Message-ID: 4CC9A0D7.8000401@lelarge.info
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hi,

This patch adds support to the new ALTER TYPE syntax in 9.1.

/me extracts the log message in the patch:

I changed the Add/Change button with two buttons (Add and Change). The
rest of the patch is used to allow the change on an existing type if we
are connected to an 9.1+ release.

Rather than trying to detect new. removed, and modified members, I
simply drop all the old ones and add all the new ones. Much simpler,
same results, and hopefully less bugs.

Comments? (other than the fact that I forgot a TODO comment in that patch)

--
Guillaume
http://www.postgresql.fr
http://dalibo.com

Attachment Content-Type Size
0001-Add-support-for-9.1-ALTER-TYPE-new-syntax.patch text/x-diff 0 bytes

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Guillaume Lelarge 2010-10-28 16:15:31 Re: Ticket 242: Add support for 9.1 ALTER TYPE new syntax
Previous Message Thom Brown 2010-10-28 12:57:25 Restore database form button