Cannot drop table ordre because other objects depend on it

From: Bjørn T Johansen <btj(at)havleik(dot)no>
To: PgSQL General ML <pgsql-general(at)postgresql(dot)org>
Subject: Cannot drop table ordre because other objects depend on it
Date: 2003-08-29 12:51:16
Message-ID: 1062161476.3193.62.camel@pennywise.havleik.no
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I am trying to drop a table and I get the following error msg:

Cannot drop table ordre because other objects depend on it
Use DROP ... CASCADE to drop the dependent objects too

How do I check which object the table depends on? As far as I know, the
table doesn't have any dependencies, at least it shoulnd't... :)

Regards,

BTJ

--
-----------------------------------------------------------------------------------------------
Bjørn T Johansen (BSc,MNIF)
Executive Manager
btj(at)havleik(dot)no Havleik Consulting
Phone : +47 67 54 15 17 Conradisvei 4
Fax : +47 67 54 13 91 N-1338 Sandvika
Cellular : +47 926 93 298 http://www.havleik.no
-----------------------------------------------------------------------------------------------
"The stickers on the side of the box said "Supported Platforms: Windows
98, Windows NT 4.0,
Windows 2000 or better", so clearly Linux was a supported platform."
-----------------------------------------------------------------------------------------------

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Steven Tower 2003-08-29 12:58:12 Re: select taking forever
Previous Message Jenny - 2003-08-29 12:27:57 Re: acquiring row and page level locks