dependencies between objects

From: "Toni Casueps" <casueps(at)hotmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: dependencies between objects
Date: 2006-02-02 18:12:50
Message-ID: BAY108-F2278294217F396C7469AF6AD0A0@phx.gbl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I have got some views (for example view B) that use another views (for
example view A) in the FROM clause.

If I want to change view A, and it doesn't allow me to (for example adding a
new column), another way would be dropping A and recreating it with the new
column, but it doesn't allow me to drop view A because B depends on it, nor
overwriting A with the new one because it already exists. One thing I can do
is rename A to A_ , create the new A and drop A_ but it automatically
reassociates B to depend on A_ , not in the new A I just created.

Is there a way to disable any of these restrictions?

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Richard Huxton 2006-02-02 18:27:56 Re: dependencies between objects
Previous Message Juan Jose Comellas 2006-02-02 17:19:42 Re: Alternative to knoda, kexi and rekall?