Re: add label to enum syntax

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: add label to enum syntax
Дата
Msg-id 19791.1288032089@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: add label to enum syntax  ("David E. Wheeler" <david@kineticode.com>)
Ответы Re: add label to enum syntax  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
"David E. Wheeler" <david@kineticode.com> writes:
> On Oct 25, 2010, at 10:08 AM, Tom Lane wrote:
>> I can see the point of that, but I don't find LABEL to be a particularly
>> great name for the elements of an enum type, and so I'm not in favor of
>> institutionalizing that name in the syntax.  How about ADD VALUE?

> So the docs have called them "labels" for quite some time.

There are some places in the docs that use that term, but there are
others that don't.  In any case, using the term in the SQL syntax
casts it in stone, not silly putty ...
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: James Cloos
Дата:
Сообщение: Re: Floating-point timestamps versus Range Types
Следующее
От: Jeff Davis
Дата:
Сообщение: Re: Range Types, discrete and/or continuous