BUG #1860: Insert failed due to unique index

From: "Viswanath Ramineni" <v_ramineni(at)hotmail(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #1860: Insert failed due to unique index
Date: 2005-09-02 14:13:34
Message-ID: 20050902141334.DE545F14B0@svr2.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


The following bug has been logged online:

Bug reference: 1860
Logged by: Viswanath Ramineni
Email address: v_ramineni(at)hotmail(dot)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.

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2005-09-02 14:25:24 Re: Sorting Problem in UNICODE/german
Previous Message Andreas Seltenreich 2005-09-02 09:56:49 Re: Sorting Problem in UNICODE/german