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

From David E. Wheeler
Subject Re: s/LABEL/VALUE/ for ENUMs
Date
Msg-id 7B9B6993-2875-4779-820E-406CAF44DFCF@kineticode.com
Whole thread Raw
In response to Re: s/LABEL/VALUE/ for ENUMs  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Nov 22, 2010, at 4:46 PM, Tom Lane wrote:

>> Oh my boots and buttons. I think we're splitting some very fine hairs 
>> here. A few weeks back you were telling us that label wasn't a very good 
>> word and shouldn't be sanctified in the SQL.
> 
> It isn't a very good word for the abstract value, IMO, but the text
> representation is a different concept.

But that's the thing we've been talking about all along! It's now
 ALTER ENUM ADD VALUE 'FOO';

But that sets the text value, the label, not the abstract value.

Boots and buttons indeed.

David


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: s/LABEL/VALUE/ for ENUMs
Next
From: Tom Lane
Date:
Subject: Re: knngist - 0.8