Dropping constraints on a table locks referenced table... why?

Поиск
Список
Период
Сортировка
От Wells Oliver
Тема Dropping constraints on a table locks referenced table... why?
Дата
Msg-id CAOC+FBX7kKHXzfAyeMGn__vE8WoXYpDSR=SUaGtBfTmFoNQpAQ@mail.gmail.com
обсуждение исходный текст
Ответы Re: Dropping constraints on a table locks referenced table... why?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-admin
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?

Is there some more efficient way to remove FK constraints without locking the referenced table?

Thanks for clarification.

--

В списке pgsql-admin по дате отправления:

Предыдущее
От: "David G. Johnston"
Дата:
Сообщение: Re: Possible bug on code autocomplete pgadmin V 3.0
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Dropping constraints on a table locks referenced table... why?