update table data type

Поиск
Список
Период
Сортировка
От Jonatan Reiners
Тема update table data type
Дата
Msg-id 1A6B1FD37F7B4C009F4CD04A26C26307@encc.de
обсуждение исходный текст
Ответы Re: update table data type  (Merlin Moncure <mmoncure@gmail.com>)
Список pgsql-novice
Hi support community,
I have a tedious task with changing the data type of a single row from a postgresql 9.1.4 database.
command:
alter table bst alter summe set data type numeric(30,2) using summe::numeric;

result:
 rule _RETURN on view bills_short depends on column "summe"

unfortunately more that 10 views depend on that table and i have 4 more tables to change.
Is there a convenient way to handle an issue like that?

Am I the only one with a problem like that? Its insane to recreate up to 40 views in order to change 4 columns.

Kinde regards,
Jonatan



-- 
Jonatan Reiners

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

Предыдущее
От: George McIlwaine
Дата:
Сообщение: Re: postgres domain service account won't start the postgres service
Следующее
От: Merlin Moncure
Дата:
Сообщение: Re: update table data type