Re: s/LABEL/VALUE/ for ENUMs

Robert Haas <robertmhaas@gmail.com>

From: Robert Haas <robertmhaas@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Andrew Dunstan <andrew@dunslane.net>, "David E. Wheeler" <david@kineticode.com>, PostgreSQL-development Hackers <pgsql-hackers@postgresql.org>
Date: 2010-11-23T00:48:31Z
Lists: pgsql-hackers
On Mon, Nov 22, 2010 at 7:46 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Andrew Dunstan <andrew@dunslane.net> writes:
>> On 11/22/2010 06:57 PM, Tom Lane wrote:
>>> Maybe instead of "textual label", we should say "name"?  But that
>>> doesn't seem like quite le mot juste either.  "label" is actually a
>>> pretty good word for the text representation of an enum value.
>
>> 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.

+1 for what Andrew said.

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