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

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: BUG #1860: Insert failed due to unique index
Дата
Msg-id 200509032118.15851.peter_e@gmx.net
обсуждение исходный текст
Ответ на BUG #1860: Insert failed due to unique index  ("Viswanath Ramineni" <v_ramineni@hotmail.com>)
Ответы Re: BUG #1860: Insert failed due to unique index  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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/

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: BUG #1861: Possible Incompatibly with NOD32 AV.
Следующее
От: Allan Wang
Дата:
Сообщение: extra columns in intermediate nodes not being removed by top level of executor