Re: BUG #2379: Duplicate pkeys in table

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: BUG #2379: Duplicate pkeys in table
Дата
Msg-id 20060406121231.GA6814@surnet.cl
обсуждение исходный текст
Ответ на BUG #2379: Duplicate pkeys in table  ("Philip Warner" <pjw@rhyme.com.au>)
Ответы Re: BUG #2379: Duplicate pkeys in table  (Michael Fuhr <mike@fuhr.org>)
Список pgsql-bugs
Philip Warner wrote:

> We have an intermittent bug that occurs on a table which is updated several
> times per second. The bug occurs every few days/weeks. It is usually
> preceeded by a "tuple concurrently updated" messages, but I could not swear
> it is always preceeded by it.
>
> The result of the bug is demonstrated by:
>
> select id,count(*) from xxx group by id having count(*)>1;
>   id   | count
> -------+-------
>  24613 |     6
> (1 row)

Please do a

SELECT xmin, xmax, cmin, cmax FROM xxx where id = 24613;

if you still have that particular manifestation.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

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

Предыдущее
От: "Philip Warner"
Дата:
Сообщение: BUG #2379: Duplicate pkeys in table
Следующее
От: Michael Fuhr
Дата:
Сообщение: Re: BUG #2379: Duplicate pkeys in table