Re: drop view with out cascading the dependents - Mailing list pgsql-general

From Ben Carbery
Subject Re: drop view with out cascading the dependents
Date
Msg-id AANLkTi=Oc_-ywcrZXU+Ukj3Kn-BuR6J2x8Q4j2qJH=3E@mail.gmail.com
Whole thread Raw
In response to Re: drop view with out cascading the dependents  (Ravi Katkar <Ravi.Katkar@infor.com>)
List 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 by date:

Previous
From: Scott Marlowe
Date:
Subject: Re: Database INNOVATION
Next
From: Matthew Hixson
Date:
Subject: Movable Type 5 and Postgres