Re: BUG #1860: Insert failed due to unique index

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: "Viswanath Ramineni" <v_ramineni(at)hotmail(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #1860: Insert failed due to unique index
Date: 2005-09-03 19:18:15
Message-ID: 200509032118.15851.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Viswanath Ramineni wrote:
> 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.

Please show the exact sequence of commands that leads to this situation.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Allan Wang 2005-09-03 20:29:25 extra columns in intermediate nodes not being removed by top level of executor
Previous Message al979663 2005-09-03 18:26:41 Error number -2147467259 with driver PgOleDb