Re: add label to enum syntax

Поиск
Список
Период
Сортировка
От Brendan Jurd
Тема Re: add label to enum syntax
Дата
Msg-id AANLkTimm+8E3htmNhh7OY3sFHnJbhH==jXLS8Apd0uLM@mail.gmail.com
обсуждение исходный текст
Ответ на add label to enum syntax  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
On 26 October 2010 02:48, Andrew Dunstan <andrew@dunslane.net> wrote:
>
> It occurred to me in the dead of the night that instead of:
>
>   ALTER TYPE enumtype ADD 'newlabel'
>
> it might be better to have:
>
>   ALTER TYPE enumtype ADD LABEL 'newlabel'
>
>

It's a real shame we can't have

ALTER ENUM works ADD spanner;

That way it wouldn't matter whether you think of 'spanner' as a
label/value/item/element/thingy.

Cheers,
BJ


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

Предыдущее
От: "David E. Wheeler"
Дата:
Сообщение: Re: Bikeshedding on enum vocabulary
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: max_wal_senders must die