Re: question on viewing dependencies - Mailing list pgsql-general

From Tom Lane
Subject Re: question on viewing dependencies
Date
Msg-id 15293.1235344020@sss.pgh.pa.us
Whole thread Raw
In response to question on viewing dependencies  (Aaron Burnett <aburnett@bzzagent.com>)
Responses Re: question on viewing dependencies  (Aaron Burnett <aburnett@bzzagent.com>)
List pgsql-general
Aaron Burnett <aburnett@bzzagent.com> writes:
> Hopefully a quick answer. Went to drop a table:

> drop table table_foo;
> ERROR:  cannot drop table table_foo because other objects depend on it
> HINT:  Use DROP ... CASCADE to drop the dependent objects too.

> Wanted to see what the dependencies were:

> BEGIN;
> drop table table_foo CASCADE;
> DROP TABLE
> ROLLBACK;

> Am I overlooking a step to actually seeing the dependant objects?

Maybe you have client_min_messages set to suppress NOTICEs?

            regards, tom lane

pgsql-general by date:

Previous
From: c k
Date:
Subject: PERFORM
Next
From: Aaron Burnett
Date:
Subject: Re: question on viewing dependencies