Re: Dropping constraints on a table locks referenced table... why? - Mailing list pgsql-admin

From Tom Lane
Subject Re: Dropping constraints on a table locks referenced table... why?
Date
Msg-id 2444.1523991472@sss.pgh.pa.us
Whole thread Raw
In response to Dropping constraints on a table locks referenced table... why?  (Wells Oliver <wells.oliver@gmail.com>)
Responses Re: Dropping constraints on a table locks referenced table... why?  (Wells Oliver <wells.oliver@gmail.com>)
List pgsql-admin
Wells Oliver <wells.oliver@gmail.com> writes:
> I have a table A which has an FK constraint referencing another table B.
> Dropping this FK constraint on A locks table B, as does trying to drop
> table A. Why is this?

There are triggers on both tables that have to be removed.

            regards, tom lane


pgsql-admin by date:

Previous
From: Wells Oliver
Date:
Subject: Dropping constraints on a table locks referenced table... why?
Next
From: Wells Oliver
Date:
Subject: Re: Dropping constraints on a table locks referenced table... why?