Re: adding foreign key constraint locks up table

From: Kevin Grittner
Subject: Re: adding foreign key constraint locks up table
Date: ,
Msg-id: 4D19A8D50200002500038C37@gw.wicourts.gov
(view: Whole thread, Raw)
In response to: Re: adding foreign key constraint locks up table  (Gurjeet Singh)
List: pgsql-performance

Tree view

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 by date:

From: Tom Lane
Date:
Subject: Re: adding foreign key constraint locks up table
From: Greg Smith
Date:
Subject: Re: Regression: 8.3 2 seconds -> 8.4 100+ seconds