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

From Alex Hunsaker
Subject Re: add label to enum syntax
Date
Msg-id AANLkTi=LYWHH=Fof2CN++bsu7uLpDuGEhXjV2VBELe5h@mail.gmail.com
Whole thread Raw
In response to Re: add label to enum syntax  (Alvaro Herrera <alvherre@commandprompt.com>)
List pgsql-hackers
On Wed, Oct 27, 2010 at 08:57, Alvaro Herrera
<alvherre@commandprompt.com> wrote:
articular direction.  Now *this* is proper bikeshedding.
>
> Should we ask more openly in another thread, with a different, more
> catchy subject?

Wait you want more bikeshedding? :P Anyway If I look at the original concern:

>> ...instead of:
>>  ALTER TYPE enumtype ADD 'newlabel'
>> it might be better to have:
>> ALTER TYPE enumtype ADD LABEL 'newlabel'
>> That way if we later wanted to support some other sort of ADD operation on types we would be able to more easily.

I have not seen anyone suggest what those other add operations might
be.  Maybe the thing to-do is leave it alone.  That is naked ADD,
neither VALUE or LABEL.

However, in the interest of progress-- +1 for VALUE;  Its how I
naturally tried to "do it" in psql.


pgsql-hackers by date:

Previous
From: Josh Berkus
Date:
Subject: Re: max_wal_senders must die
Next
From: Josh Berkus
Date:
Subject: Re: Simplifying replication