Re: s/LABEL/VALUE/ for ENUMs

Поиск
Список
Период
Сортировка
От David E. Wheeler
Тема Re: s/LABEL/VALUE/ for ENUMs
Дата
Msg-id 7B9B6993-2875-4779-820E-406CAF44DFCF@kineticode.com
обсуждение исходный текст
Ответ на Re: s/LABEL/VALUE/ for ENUMs  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: s/LABEL/VALUE/ for ENUMs
Следующее
От: Tom Lane
Дата:
Сообщение: Re: knngist - 0.8