Re: BUG #8176: problem with the "ALTER TYPE name RENAME TO new_name [ CASCADE | RESTRICT ]" syntax

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #8176: problem with the "ALTER TYPE name RENAME TO new_name [ CASCADE | RESTRICT ]" syntax
Дата
Msg-id 10708.1369664475@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: BUG #8176: problem with the "ALTER TYPE name RENAME TO new_name [ CASCADE | RESTRICT ]" syntax  (Stephen Frost <sfrost@snowman.net>)
Ответы Re: BUG #8176: problem with the "ALTER TYPE name RENAME TO new_name [ CASCADE | RESTRICT ]" syntax
Список pgsql-bugs
Stephen Frost <sfrost@snowman.net> writes:
> * maxim.boguk@gmail.com (maxim.boguk@gmail.com) wrote:
>> It seems that documentation wrong or [ CASCADE | RESTRICT ] feature of ALTER
>> TYPE ... RENAME TO isn't implemented.

> Actually, I'm pretty sure it's implemented but the grammar for it was
> broken during refactoring to have all the ALTER .. RENAME operations go
> through the same code paths.

Are we sure the documentation's not wrong?  A quick test says this
syntax isn't accepted in *any* existing release, and I can't say I
understand what it should do anyway.

            regards, tom lane

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

Предыдущее
От: Stephen Frost
Дата:
Сообщение: Re: BUG #8176: problem with the "ALTER TYPE name RENAME TO new_name [ CASCADE | RESTRICT ]" syntax
Следующее
От: Stephen Frost
Дата:
Сообщение: Re: BUG #8176: problem with the "ALTER TYPE name RENAME TO new_name [ CASCADE | RESTRICT ]" syntax