Re: s/LABEL/VALUE/ for ENUMs - Mailing list pgsql-hackers

From Robert Haas
Subject Re: s/LABEL/VALUE/ for ENUMs
Date
Msg-id AANLkTi=+s6bq1n2tFE5=0VKZrbaT2HCm6gcWoDP85bVG@mail.gmail.com
Whole thread Raw
In response to Re: s/LABEL/VALUE/ for ENUMs  ("David E. Wheeler" <david@kineticode.com>)
Responses Re: s/LABEL/VALUE/ for ENUMs
Re: s/LABEL/VALUE/ for ENUMs
List pgsql-hackers
On Tue, Nov 23, 2010 at 2:01 PM, David E. Wheeler <david@kineticode.com> wrote:
> On Nov 22, 2010, at 6:03 PM, Josh Berkus wrote:
>
>> ... "original patch".  Sorry.  Let's not fiddle with the names.
>
> To be clear, as things stand now, the new command is:
>
>    ALTER TYPE name ADD VALUE new_enum_value [ { BEFORE | AFTER } existing_enum_value ]
>
> So while the term in the SQL statement is "VALUE," it's called a "label" in the documentation. I think that's
confusing.Does anyone else? 

Yes.  As between the two options, I favor changing the command.  And
let's also paint it pink.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: patch: fix performance problems with repated decomprimation of varlena values in plpgsql
Next
From: "David E. Wheeler"
Date:
Subject: Re: s/LABEL/VALUE/ for ENUMs