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.