Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id 451099FA2C7 for ; Mon, 16 Oct 2006 14:01:38 -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 85766-05 for ; Mon, 16 Oct 2006 17:01:32 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.174]) by postgresql.org (Postfix) with ESMTP id F2E739FA3AD for ; Mon, 16 Oct 2006 14:01:31 -0300 (ADT) Received: by ug-out-1314.google.com with SMTP id 30so779491ugc for ; Mon, 16 Oct 2006 10:01:30 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=VaKPP0RJiPWXSK6fjzcZX++z6PsTaRh9RY8Z4V8TJOuSDaXaJ3XjarbyiJBCfld1dOvdGAA5fxDblTUcf6W6QAbFMnZ+84RiojNk7tNYhkWcuC6nRGELLaRUl/hB0TC++bea4kjQB8PZKIEozy6IHPvJ5+NoEgEWI+cyJux6ZOI= Received: by 10.82.120.15 with SMTP id s15mr1143844buc; Mon, 16 Oct 2006 10:01:30 -0700 (PDT) Received: by 10.82.109.14 with HTTP; Mon, 16 Oct 2006 10:01:30 -0700 (PDT) Message-ID: Date: Mon, 16 Oct 2006 10:01:30 -0700 From: "Paul Laughlin" To: "Tom Lane" Subject: Re: duplicate key violates unique constraint pg_toast_635216540 Cc: pgsql-bugs@postgresql.org In-Reply-To: <22618.1161017468@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_63173_20196759.1161018090347" References: <22210.1161015912@sss.pgh.pa.us> <22618.1161017468@sss.pgh.pa.us> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.334 tagged_above=0 required=5 tests=DNS_FROM_RFC_ABUSE, HTML_50_60, HTML_MESSAGE, SPF_PASS X-Spam-Level: X-Archive-Number: 200610/122 X-Sequence-Number: 15991 ------=_Part_63173_20196759.1161018090347 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline We got it early last week and again this morning. Before these two it was about six months ago. On 10/16/06, Tom Lane wrote: > > "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 > ------=_Part_63173_20196759.1161018090347 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline We got it early last week and again this morning.  Before these two it was about six months ago.

On 10/16/06, Tom Lane < tgl@sss.pgh.pa.us> wrote:
"Paul Laughlin" < plaughlin@gmail.com> 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

------=_Part_63173_20196759.1161018090347--