Re: adding foreign key constraint locks up table

From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: "kakarukeys" <kakarukeys(at)gmail(dot)com>, "Gurjeet Singh" <singh(dot)gurjeet(at)gmail(dot)com>
Cc: <pgsql-performance(at)postgresql(dot)org>
Subject: Re: adding foreign key constraint locks up table
Date: 2010-12-28 14:43:49
Message-ID: 4D19A3450200002500038C2C@gw.wicourts.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Gurjeet Singh <singh(dot)gurjeet(at)gmail(dot)com> wrote:

> how many rows does "bbb" have? And what are the data types of
> column aaa.idand bbb.topic_id?

For that matter, is there a unique index (directly or as the result
of a constraint) on the aaa.id column (by itself)?

-Kevin

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Gurjeet Singh 2010-12-28 14:56:19 Re: adding foreign key constraint locks up table
Previous Message kakarukeys 2010-12-28 13:55:59 Re: adding foreign key constraint locks up table