alter table alter type CASCADE

Поиск
Список
Период
Сортировка
От Sim Zacks
Тема alter table alter type CASCADE
Дата
Msg-id 4BE132C4.3000003@compulab.co.il
обсуждение исходный текст
Ответы Re: alter table alter type CASCADE  (Thom Brown <thombrown@gmail.com>)
Re: alter table alter type CASCADE  (Scott Marlowe <scott.marlowe@gmail.com>)
Список pgsql-general
One of the biggest problems I have maintaining a database with a lot of
views is that when I want to change a datatype, I have to drop every
view uses the column and every view that uses those views etc...
This turns into a maintenance nightmare.

Is there any intention of adding a CASCADE to alter type which would
automatically update any dependencies with the new datatype? Obviously
it should error out if it wouldn't have let you save one of the views
with the new datatype.

Thanks
Sim

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

Предыдущее
От: Andre Lopes
Дата:
Сообщение: Re: Function not RAISE NOTICE if a parameter is NULL
Следующее
От: Thom Brown
Дата:
Сообщение: Re: alter table alter type CASCADE