Re: Difference between PRIMARY KEY index and UNIQUE-NOT NULL index

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Vincenzo Romano <vincenzo(dot)romano(at)gmail(dot)com>
Cc: "Josh Tolley" <eggyknap(at)gmail(dot)com>, "Michael Glaesemann" <grzm(at)seespotcode(dot)net>, pgsql-general(at)postgresql(dot)org
Subject: Re: Difference between PRIMARY KEY index and UNIQUE-NOT NULL index
Date: 2007-07-22 17:20:08
Message-ID: 1905.1185124808@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Vincenzo Romano <vincenzo(dot)romano(at)gmail(dot)com> writes:
> In the original setup, the "UNIQUE" constraint had been dropped
> *before* doing the tests. So the "slow" case is without the UNIQUE
> constraint but with an index. The NOT NULL was instead there.

With what index, pray tell?

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Sibte Abbas 2007-07-22 17:30:11 Re: Debugging postgresql source on gdb
Previous Message Alvaro Herrera 2007-07-22 15:35:44 Re: Foreign key constraint question