Re: Alter or rename enum value

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Alter or rename enum value
Дата
Msg-id 25605.1457539654@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Alter or rename enum value  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: Alter or rename enum value  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:
> On 03/09/2016 09:56 AM, Matthias Kurz wrote:
>> Right now it is not possible to rename an enum value.
>> Are there plans to implement this anytime soon?

> I don't know of any plans, but it would be a useful thing. I agree it 
> wouldn't be too hard. The workaround is to do an update on pg_enum 
> directly, but proper SQL support would be much nicer.

I have a vague recollection that we discussed this at the time the enum
stuff went in, and there are concurrency issues?  Don't recall details
though.
        regards, tom lane



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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: Alter or rename enum value
Следующее
От: Tomas Vondra
Дата:
Сообщение: Re: More stable query plans via more predictable column statistics