drop view even with dependencies? - Mailing list pgsql-sql

From Henry Ortega
Subject drop view even with dependencies?
Date
Msg-id 2bffcc3305030713384c81d59b@mail.gmail.com
Whole thread Raw
Responses Re: drop view even with dependencies?
List pgsql-sql
Is there a way to drop a VIEW in postgres without
the need to drop all the dependencies?

VIEW 3   |
VIEW 2   |
VIEW 1

In my case, VIEW 3 depends on VIEW 2, and VIEW 2 depends
on VIEW 1.

Is there a way to drop VIEW 3 without dropping VIEW 1 and 2?
I tried CREATE OR REPLACE VIEW but replace will only work
if they have the same number of fields.

Also with tables, can I drop a table even if there are multiple views
that depend on it?

It's such a pain in the neck to have to drop all the dependencies and
recreate them all over again. Any help would greatly appreciated.
I am using Postgres 7.3.2


pgsql-sql by date:

Previous
From: PFC
Date:
Subject: Re: Links between rows in a table
Next
From: Michael Fuhr
Date:
Subject: Re: drop view even with dependencies?