BUG #1860: Insert failed due to unique index - Mailing list pgsql-bugs

From Viswanath Ramineni
Subject BUG #1860: Insert failed due to unique index
Date
Msg-id 20050902141334.DE545F14B0@svr2.postgresql.org
Whole thread Raw
Responses Re: BUG #1860: Insert failed due to unique index
List pgsql-bugs
The following bug has been logged online:

Bug reference:      1860
Logged by:          Viswanath Ramineni
Email address:      v_ramineni@hotmail.com
PostgreSQL version: 8.1 Beta
Operating system:   Windows 2000 Professional
Description:        Insert failed due to unique index
Details:

I have a table with a primary key on id (integer) column and a unique index
on varchar(10) column. Insertion fails when the value of the unique column
is substring of an existing value. For example, if I have a row with the
unique column value 'TEST1', it will not allow me insert another row with
'TEST' as the value for this column.

pgsql-bugs by date:

Previous
From: Michael Fuhr
Date:
Subject: Re: BUG #1858: setting search path in select doesn't (always) work
Next
From: "Thomas Turn Jensen"
Date:
Subject: BUG #1861: Possible Incompatibly with NOD32 AV.