Skip site navigation (1) Skip section navigation (2)

Ticket 269: Add support for 9.1 ALTER TYPE new syntax for enum

From: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
To: pgadmin-hackers(at)postgresql(dot)org
Subject: Ticket 269: Add support for 9.1 ALTER TYPE new syntax for enum
Date: 2010-10-30 04:11:22
Message-ID: 4CCB9AEA.6080503@lelarge.info (view raw or flat)
Thread:
Lists: pgadmin-hackers
Hi,

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

It's working great except one thing. If a user wants to add two labels,
we're screwed because we can't do two "ALTER TYPE ... ADD" statements in
the same query execution. Any idea how to solve this? the only way I
found would be to disallow adding two labels at once but it results on a
less interesting feature.

Comments?


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

Attachment: 0001-Add-support-for-9.1-ALTER-TYPE-new-syntax-for-enum.patch
Description: text/x-diff (0 bytes)

Responses

pgadmin-hackers by date

Next:From: Guillaume LelargeDate: 2010-10-30 04:32:04
Subject: Re: Restore database form button
Previous:From: Thom BrownDate: 2010-10-29 14:47:25
Subject: Re: Restore database form button

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group