Re: Sequence problem in stresstest on 8.0-beta1 (windows)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "J(dot) Hondius" <jhondius(at)rem(dot)nl>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: Sequence problem in stresstest on 8.0-beta1 (windows)
Date: 2004-08-14 00:13:23
Message-ID: 29471.1092442403@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"J. Hondius" <jhondius(at)rem(dot)nl> writes:
> These statements:
> insert into "tbverantwoording" ("dnkeyaanstelling", "dnjaarweek",
> "dnkeyactiviteitenschema") values (27, 200343, 1781); insert into
> "tbverantwoording" ("dnkeyaanstelling", "dnjaarweek",
> "dnkeyactiviteitenschema") values (27, 200343, 1780);

> Reported these errors:
> psql:sqlfiles/0.sql:241: ERROR: duplicate key violates unique constraint
> "pk_tbverantw"
> psql:sqlfiles/0.sql:223: ERROR: duplicate key violates unique constraint
> "pk_tbverantw"

> BUT ONLY DURING HIGH LOAD, 717 errors where reported, for 2000 inserts.

I couldn't replicate any problem. I put 5000 copies of those two
statements into a file and set up half a dozen psql sessions
concurrently reading the file. No errors.

If you can provide a complete, reproducible test case, I'll be glad to
look at it, but there's not enough information here to do anything ...

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Zeki Mokhtarzada 2004-08-14 00:31:24 Re: Primary key duplicates
Previous Message Simon@2ndquadrant.com 2004-08-13 22:28:32 Missing Manuals