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 18:09:03
Message-ID: 2454.1185127743@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:
> On Sunday 22 July 2007 19:20:08 Tom Lane wrote:
>> With what index, pray tell?

> 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 on NOT NULL fields.

You haven't said where you think this index is coming from.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Shreya Bhargava 2007-07-22 18:55:59 Re: Debugging postgresql source on gdb
Previous Message Sibte Abbas 2007-07-22 17:33:00 Re: Debugging postgresql source on gdb