Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id ACA9C9FA2C7 for ; Mon, 16 Oct 2006 13:51:17 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 83512-06 for ; Mon, 16 Oct 2006 16:51:11 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey- Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 853489FA158 for ; Mon, 16 Oct 2006 13:51:10 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.6/8.13.6) with ESMTP id k9GGp8FZ022619; Mon, 16 Oct 2006 12:51:08 -0400 (EDT) To: "Paul Laughlin" cc: pgsql-bugs@postgresql.org Subject: Re: duplicate key violates unique constraint pg_toast_635216540 In-reply-to: References: <22210.1161015912@sss.pgh.pa.us> Comments: In-reply-to "Paul Laughlin" message dated "Mon, 16 Oct 2006 09:45:35 -0700" Date: Mon, 16 Oct 2006 12:51:08 -0400 Message-ID: <22618.1161017468@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200610/120 X-Sequence-Number: 15989 "Paul Laughlin" writes: > warehouse=# select count(distinct chunk_id) from > pg_toast.pg_toast_635216540; > count > ------- > 74557 > (1 row) > We're on version 8.0.7 Well, 8.0 is definitely at risk for OID collisions in a toast table, but with so few entries I'd have thought the probability pretty low. How often do you see these errors? regards, tom lane