Re: Changing data type must recreate all views?

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Changing data type must recreate all views?
Дата
Msg-id Pine.LNX.4.56.0308190952400.4847@krusty.localdomain
обсуждение исходный текст
Ответ на Changing data type must recreate all views?  ("Yudie" <yudie@axiontech.com>)
Список pgsql-sql
Yudie writes:

> I need to change column data type from integer to float8
> That mean to droping table and recreate a new one and can lost the original
> object id.
> Do i need to recreate all views and triggers that relate to that table?
> if that so, is there anyway to do that without touching views and triggers?

Not really.

Perhaps it will be easier if you do a dump of the affected objects, edit
the dump file, and reload.

-- 
Peter Eisentraut   peter_e@gmx.net


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

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: Inheritance or no inheritance, there is a question
Следующее
От: Marco Vezzoli
Дата:
Сообщение: postgres 7.1.3: why does the query plan ignore indexes?