Re: BUG #2975: UNIQUE INDEX doesn't work

From: Michael Fuhr <mike(at)fuhr(dot)org>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: Steven <s(dot)lambert(at)madeware(dot)nl>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #2975: UNIQUE INDEX doesn't work
Date: 2007-02-12 02:52:41
Message-ID: 20070212025241.GA11572@winnie.fuhr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Thu, Feb 08, 2007 at 11:57:19AM -0500, Bruce Momjian wrote:
> Steven wrote:
> > I have a unique index on a table, but it is still possible to insert a
> > duplicated row, without any message what so ever.
>
> Please show us a self-contained example.

Are you perchance inserting NULL into the column(s) with the unique
index?

--
Michael Fuhr

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2007-02-12 04:09:33 Re: BUG #2983: Nonsense error: "Table has type interval, but query expects interval"
Previous Message Magnus Hagander 2007-02-11 15:28:21 Re: [BUGS] Missing error message on missing ssl-key-files