From: | Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Thom Brown <thom(at)linux(dot)com>, Joseph Adams <joeyadams3(dot)14159(at)gmail(dot)com>, Andrew Dunstan <andrew(at)dunslane(dot)net>, Alvaro Herrera <alvherre(at)commandprompt(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: WIP: extensible enums |
Date: | 2010-08-23 19:20:15 |
Message-ID: | 4C72C9EF.6010307@enterprisedb.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On 23/08/10 22:06, Tom Lane wrote:
> Thom Brown<thom(at)linux(dot)com> writes:
>> On 23 August 2010 19:25, Joseph Adams<joeyadams3(dot)14159(at)gmail(dot)com> wrote:
>>> But what if you want to insert an OID at the end?
>
>> ALTER TYPE colors ADD 'orange';
>
> Alternatively, if people are dead set on symmetry, what we should do
> to simplify is drop *this* syntax, and just have the BEFORE and AFTER
> variants.
Then you need to know the last existing value to add a new one to the
end. Seems awkward.
--
Heikki Linnakangas
EnterpriseDB http://www.enterprisedb.com
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2010-08-23 19:20:39 | Re: WIP: extensible enums |
Previous Message | Alvaro Herrera | 2010-08-23 19:19:54 | Re: Return of the Solaris vacuum polling problem -- anyone remember this? |