Received: from magus.postgresql.org (magus.postgresql.org [87.238.57.229]) by mail.postgresql.org (Postfix) with ESMTP id 1CBD447D7BC for ; Tue, 10 Jan 2012 22:01:14 -0400 (AST) Received: from mahout.postgresql.org ([98.129.198.123]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1RknV2-0006M2-ND for pgsql-bugs@postgresql.org; Wed, 11 Jan 2012 02:01:13 +0000 Received: from [204.145.120.229] (helo=wrigleys.postgresql.org) by mahout.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1RknUp-00038F-UH for pgsql-bugs@postgresql.org; Wed, 11 Jan 2012 02:01:00 +0000 Received: from www-data by wrigleys.postgresql.org with local (Exim 4.72) (envelope-from ) id 1RknUp-0000cl-ME for pgsql-bugs@postgresql.org; Wed, 11 Jan 2012 02:00:59 +0000 Date: Wed, 11 Jan 2012 02:00:59 +0000 Message-Id: Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: BUG #6393: cluster sometime fail under heavy concurrent write load To: pgsql-bugs@postgresql.org From: maxim.boguk@gmail.com X-Pg-Spam-Score: -1.0 (-) X-Archive-Number: 201201/73 X-Sequence-Number: 32140 The following bug has been logged on the website: Bug reference: 6393 Logged by: Maxim Boguk Email address: maxim.boguk@gmail.com PostgreSQL version: 9.0.6 Operating system: Linux Ubuntu Description: = I have heavy write-load table under PostgreSQL 9.0.6 and sometime (not always but more then 50% chance) i'm getting the next error during cluster: db=3D# cluster public.enqueued_mail; ERROR: duplicate key value violates unique constraint "pg_toast_119685646_index" DETAIL: Key (chunk_id, chunk_seq)=3D(119685590, 0) already exists. chunk_id different each time. No uncommon datatypes exists in the table. Currently I work on create reproducible test case (but it seems require 2-3 open write transaction on the table).