Re: adding foreign key constraint locks up table

От: Kevin Grittner
Тема: Re: adding foreign key constraint locks up table
Дата: ,
Msg-id: 4D19A8D50200002500038C37@gw.wicourts.gov
(см: обсуждение, исходный текст)
Ответ на: Re: adding foreign key constraint locks up table  (Gurjeet Singh)
Список: pgsql-performance

Скрыть дерево обсуждения

adding foreign key constraint locks up table  (kakarukeys, )
 Re: adding foreign key constraint locks up table  (Gurjeet Singh, )
  Re: adding foreign key constraint locks up table  ("Kevin Grittner", )
   Re: adding foreign key constraint locks up table  (Gurjeet Singh, )
    Re: adding foreign key constraint locks up table  ("Kevin Grittner", )
 Re: adding foreign key constraint locks up table  (Lew, )
 Re: adding foreign key constraint locks up table  (kakarukeys, )
  Re: adding foreign key constraint locks up table  (Gurjeet Singh, )
 Re: adding foreign key constraint locks up table  (Florian Weimer, )
  Re: adding foreign key constraint locks up table  (Tom Lane, )
   Re: adding foreign key constraint locks up table  (Florian Weimer, )
    Re: adding foreign key constraint locks up table  (Tom Lane, )
 Re: adding foreign key constraint locks up table  (kakarukeys, )
  Re: adding foreign key constraint locks up table  (Robert Haas, )
 Re: adding foreign key constraint locks up table  (kakarukeys, )

Gurjeet Singh <> wrote:

> Isn't it a requirement that the FKey referenced columns be UNIQUE
> or PRIMARY KEY'd already?

Ah, so it is.  Never mind.

-Kevin


В списке pgsql-performance по дате сообщения:

От: Tom Lane
Дата:
Сообщение: Re: adding foreign key constraint locks up table
От: Greg Smith
Дата:
Сообщение: Re: Regression: 8.3 2 seconds -> 8.4 100+ seconds