Re: add label to enum syntax - Mailing list pgsql-hackers

From Brendan Jurd
Subject Re: add label to enum syntax
Date
Msg-id AANLkTimm+8E3htmNhh7OY3sFHnJbhH==jXLS8Apd0uLM@mail.gmail.com
Whole thread Raw
In response to add label to enum syntax  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers
On 26 October 2010 02:48, Andrew Dunstan <andrew@dunslane.net> wrote:
>
> It occurred to me in the dead of the night that instead of:
>
>   ALTER TYPE enumtype ADD 'newlabel'
>
> it might be better to have:
>
>   ALTER TYPE enumtype ADD LABEL 'newlabel'
>
>

It's a real shame we can't have

ALTER ENUM works ADD spanner;

That way it wouldn't matter whether you think of 'spanner' as a
label/value/item/element/thingy.

Cheers,
BJ


pgsql-hackers by date:

Previous
From: "David E. Wheeler"
Date:
Subject: Re: Bikeshedding on enum vocabulary
Next
From: Josh Berkus
Date:
Subject: Re: max_wal_senders must die