Re: add label to enum syntax

Поиск
Список
Период
Сортировка
От Pavel Golub
Тема Re: add label to enum syntax
Дата
Msg-id 1938573977.20101028135024@gf.microolap.com
обсуждение исходный текст
Ответ на add label to enum syntax  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: add label to enum syntax  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-hackers
Hello, Andrew.

You wrote:


AD> It occurred to me in the dead of the night that instead of:

AD>     ALTER TYPE enumtype ADD 'newlabel'


AD> it might be better to have:

AD>     ALTER TYPE enumtype ADD LABEL 'newlabel'


AD> That way if we later wanted to support some other sort of ADD operation
AD> on types we would be able to more easily. LABEL is already a keyword, so
AD> it should be pretty minimally invasive to make this change, and if we 
AD> want to do it now is the time.

AD> Thoughts?

AD> cheers

AD> andrew


Forgot link to poll:
http://pgolub.wordpress.com/2010/10/28/poll-alter-type-enumtype-add-what-newlabel/

-- 
With best wishes,Pavel                          mailto:pavel@gf.microolap.com



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

Предыдущее
От: Pavel Golub
Дата:
Сообщение: Re: add label to enum syntax
Следующее
От: Boszormenyi Zoltan
Дата:
Сообщение: Re: plan time of MASSIVE partitioning ...