Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-bugs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group