Re: Alter or rename enum value

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: Alter or rename enum value
Дата
Msg-id 56E049CC.8010201@dunslane.net
обсуждение исходный текст
Ответ на Alter or rename enum value  (Matthias Kurz <m.kurz@irregular.at>)
Ответы Re: Alter or rename enum value  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers

On 03/09/2016 09:56 AM, Matthias Kurz wrote:
> Hi!
>
> Right now it is not possible to rename an enum value.
> Are there plans to implement this anytime soon?
> I had a bit of a discussion on the IRC channel and it seems it 
> shouldn't be that hard to implement this.
> Again, I am talking about renaming the values, not the enum itself.
>
>


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.

cheers

andrew



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

Предыдущее
От: Masahiko Sawada
Дата:
Сообщение: Suspicious behaviour on applying XLOG_HEAP2_VISIBLE.
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Alter or rename enum value