question on viewing dependencies

From: Aaron Burnett <aburnett(at)bzzagent(dot)com>
To: <pgsql-general(at)postgresql(dot)org>
Subject: question on viewing dependencies
Date: 2009-02-22 19:46:38
Message-ID: C5C715CE.4E87C%aburnett@bzzagent.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


Hi,

postgresql version 8.25 running on RHEL4

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?

Thanking you in advance,

Aaron

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Devrim GÜNDÜZ 2009-02-22 20:32:59 Re: Mammoth replicator
Previous Message Angelo Astorga 2009-02-22 19:46:37 Cambiando Postgresql 7.4.3 a 8.1.11 !!!