Re: [PATCH] Alter or rename enum value

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [PATCH] Alter or rename enum value
Дата
Msg-id 26875.1472935684@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [PATCH] Alter or rename enum value  (Emre Hasegeli <emre@hasegeli.com>)
Ответы Re: [PATCH] Alter or rename enum value  (Emre Hasegeli <emre@hasegeli.com>)
Список pgsql-hackers
Emre Hasegeli <emre@hasegeli.com> writes:
> Other than these, it looks good to me.  I am marking it as Ready for Committer.

I started looking at this patch.  I'm kind of unhappy with having *both*
IF EXISTS and IF NOT EXISTS options on the statement, especially since
the locations of those phrases in the syntax seem to have been chosen
with a dartboard.  This feels way more confusing than it is useful.
Is there really a strong use-case for either option?  I note that
ALTER TABLE RENAME COLUMN, which is probably used a thousand times
more often than this will be, has so far not grown either kind of option,
which sure makes me think that this proposal is getting ahead of itself.
        regards, tom lane



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: \timing interval
Следующее
От: Vik Fearing
Дата:
Сообщение: Long options for pg_ctl waiting