Re: drop view with out cascading the dependents

Поиск
Список
Период
Сортировка
От Ben Carbery
Тема Re: drop view with out cascading the dependents
Дата
Msg-id AANLkTi=Oc_-ywcrZXU+Ukj3Kn-BuR6J2x8Q4j2qJH=3E@mail.gmail.com
обсуждение исходный текст
Ответ на Re: drop view with out cascading the dependents  (Ravi Katkar <Ravi.Katkar@infor.com>)
Список pgsql-general
You can always recreate the dependent views in the same process, since you won't lose any data. If there are also linked tables you could use COPY before deleting and recreating, it's fairly fast.

But..does the structure of your data really need to change? Just guessing, but it just sounds a little like adjusting the schema to suit an application, not the data.

2010/10/20 Ravi Katkar <Ravi.Katkar@infor.com>
That's true . it wont work if we add remove the columns.
I wanted to add column to view and change the data type to existing column

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

Предыдущее
От: Scott Marlowe
Дата:
Сообщение: Re: Database INNOVATION
Следующее
От: Matthew Hixson
Дата:
Сообщение: Movable Type 5 and Postgres