Re: BUG #13723: "duplicate key" error occurs when update delete and insert the same row concurrently

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: BUG #13723: "duplicate key" error occurs when update delete and insert the same row concurrently
Дата
Msg-id CAKFQuwaC1q6bDDoXS0eTTgMGJHV_ZWi483j53SgZtjw71OXpFg@mail.gmail.com
обсуждение исходный текст
Ответ на BUG #13723: "duplicate key" error occurs when update delete and insert the same row concurrently  (chjischj@163.com)
Список pgsql-bugs
On Sunday, October 25, 2015, <chjischj@163.com> wrote:

> The following bug has been logged on the website:
>
> Bug reference:      13723
> Logged by:          ChenHuajun
> Email address:      chjischj@163.com <javascript:;>
> PostgreSQL version: 9.4.5
> Operating system:   CentOS 6
> Description:
>
> When i run sysbench's complex test with PostgreSQL, the following error
> always occured.
> duplicate key value violates unique constraint "%s"
>
> It seems to be a bug which occurs when executing update,delete and
> insert(within one transaction) the same row concurrently.
>
>
While I probably cannot explain this adequately it is your understanding of
concurrency and the various transaction isolation levels that is wrong; not
PostgreSQL.

David J.

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

Предыдущее
От: chjischj@163.com
Дата:
Сообщение: BUG #13723: "duplicate key" error occurs when update delete and insert the same row concurrently
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BUG #13723: "duplicate key" error occurs when update delete and insert the same row concurrently