Re: Alter or rename enum value - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: Alter or rename enum value
Date
Msg-id 56E05635.70908@dunslane.net
Whole thread Raw
In response to Re: Alter or rename enum value  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Alter or rename enum value
List pgsql-hackers

On 03/09/2016 11:07 AM, Tom Lane wrote:
> 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.
>
>             


Rings a vague bell, but should it be any worse than adding new labels?

cheers

andrew



pgsql-hackers by date:

Previous
From: Christian Ullrich
Date:
Subject: Re: Crash with old Windows on new CPU
Next
From: Alvaro Herrera
Date:
Subject: Re: WIP: Upper planner pathification