Re: BUG #4913: Row missing from primary key index

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: BUG #4913: Row missing from primary key index
Дата
Msg-id 20090710000209.GR6414@alvh.no-ip.org
обсуждение исходный текст
Ответ на BUG #4913: Row missing from primary key index  ("Mathieu De Zutter" <mathieu@dezutter.org>)
Ответы Re: BUG #4913: Row missing from primary key index  (Mathieu De Zutter <mathieu@dezutter.org>)
Список pgsql-bugs
Mathieu De Zutter wrote:

> I have a table log_event with a primary key on an integer 'id', called
> log_event_pkey.
>
> The tables contains a duplicate for id = 15723018. The duplicate (note that
> besides the id, all data differs) doesn't seem to be known by the index at
> all.

What do the INSERT lines look like?  Is it a trigger, an insert called
directly by the application?  How is the sequence involved -- lastval(),
nextval(), does the code just leave the column out for the default to fire?

--
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: BUG #4913: Row missing from primary key index
Следующее
От: Andrew Gierth
Дата:
Сообщение: Re: BUG #4913: Row missing from primary key index