Re: s/LABEL/VALUE/ for ENUMs

From: "David E(dot) Wheeler" <david(at)kineticode(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Andrew Dunstan <andrew(at)dunslane(dot)net>, PostgreSQL-development Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: s/LABEL/VALUE/ for ENUMs
Date: 2010-11-23 00:48:17
Message-ID: 7B9B6993-2875-4779-820E-406CAF44DFCF@kineticode.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2010-11-23 00:48:31 Re: s/LABEL/VALUE/ for ENUMs
Previous Message Tom Lane 2010-11-23 00:46:34 Re: s/LABEL/VALUE/ for ENUMs