Re: [PATCH] Alter or rename enum value

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [PATCH] Alter or rename enum value
Дата
Msg-id 17893.1473193170@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [PATCH] Alter or rename enum value  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: [PATCH] Alter or rename enum value  (Emre Hasegeli <emre@hasegeli.com>)
Список pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:
> Are we also going to have an exists test for the original thing being 
> renamed? Exists tests on renames do strike me as somewhat cumbersome, to 
> say the least.

I'm less opposed to that part, because it's at least got *some* precedent
in existing RENAME features.  But the fact that RENAME COLUMN hasn't got
it still makes me wonder why this is the first place that's getting it
("it" being an EXISTS test that applies to a sub-object rather than the
whole object being ALTER'd).

Bottom line here is that I'd rather commit ALTER TYPE RENAME VALUE with
no EXISTS features and then see it accrete those features together with
other types of RENAME, when and if there's a will to make that happen.
        regards, tom lane



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

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: patch: function xmltable
Следующее
От: Christoph Berg
Дата:
Сообщение: Re: [PATCH] COPY vs \copy HINT