Re: BUG #2975: UNIQUE INDEX doesn't work - Mailing list pgsql-bugs

From Michael Fuhr
Subject Re: BUG #2975: UNIQUE INDEX doesn't work
Date
Msg-id 20070212025241.GA11572@winnie.fuhr.org
Whole thread Raw
In response to Re: BUG #2975: UNIQUE INDEX doesn't work  (Bruce Momjian <bruce@momjian.us>)
List 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

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #2393: update fails with unique constraint violation
Next
From: "David Flater"
Date:
Subject: BUG #2983: Nonsense error: "Table has type interval, but query expects interval"