Re: Clarification, please

From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: "pgsql-performance(at)postgresql(dot)org" <pgsql-performance(at)postgresql(dot)org>, "Mladen Gogala" <mladen(dot)gogala(at)vmsinfo(dot)com>
Subject: Re: Clarification, please
Date: 2010-12-01 17:13:04
Message-ID: 4CF62DC00200002500038023@gw.wicourts.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Mladen Gogala <mladen(dot)gogala(at)vmsinfo(dot)com> wrote:

> How is it possible to insert the same value twice into a UNIQUE
> index?

You get multiple entries for the same value in a UNIQUE indexes all
the time in PostgreSQL. Any non-HOT update of a table with a UNIQUE
index will cause that. You just can't have duplicate entries with
overlapping visibility.

-Kevin

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Mladen Gogala 2010-12-01 17:15:19 Re: SELECT INTO large FKyed table is slow
Previous Message Mladen Gogala 2010-12-01 17:06:35 Re: Clarification, please