Re: Postgres wont drop foriegn keys on tables. - Mailing list pgsql-general

From Vick Khera
Subject Re: Postgres wont drop foriegn keys on tables.
Date
Msg-id AANLkTinaf=XJFReQDpqFk1Tb9bt4MhcNdiSVngGNnbi7@mail.gmail.com
Whole thread Raw
In response to Postgres wont drop foriegn keys on tables.  (Chris Barnes <compuguruchrisbarnes@hotmail.com>)
List pgsql-general
On Thu, Sep 23, 2010 at 11:01 AM, Chris Barnes
<compuguruchrisbarnes@hotmail.com> wrote:
> I am attempting to drop an foreign key on a table and it sits for hours and
> doesn't drop or put anything into the log.
>

Does the pg_stat_activity view show that it is waiting for a lock?  It
will need to lock both the origin and destination tables of the FK to
clear the triggers.

pgsql-general by date:

Previous
From: Boris
Date:
Subject: Unable to upgrade old cluster from 8.4 to 9.0
Next
From: Tom Lane
Date:
Subject: Re: Postgres wont drop foriegn keys on tables.