pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Paul Laughlin <plaughlin@gmail.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: duplicate key violates unique constraint pg_toast_635216540
Date: Mon, 16 Oct 2006 12:51:08 -0400
Message-ID: <22618.1161017468@sss.pgh.pa.us> (raw)
In-Reply-To: <f41e66d10610160945v75ee6f19kf7ee1c79a367265@mail.gmail.com>
References: <f41e66d10610160916m77430fdfmda08ff2b5d0df728@mail.gmail.com>
	<22210.1161015912@sss.pgh.pa.us>
	<f41e66d10610160945v75ee6f19kf7ee1c79a367265@mail.gmail.com>

"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



view thread (9+ messages)  latest in thread

Message-ID: <22618.1161017468@sss.pgh.pa.us>
Permalink:  ../22618.1161017468@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/22618.1161017468@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, plaughlin@gmail.com
  Subject: Re: duplicate key violates unique constraint pg_toast_635216540
  In-Reply-To: <22618.1161017468@sss.pgh.pa.us>
  References: <f41e66d10610160916m77430fdfmda08ff2b5d0df728@mail.gmail.com> <22210.1161015912@sss.pgh.pa.us> <f41e66d10610160945v75ee6f19kf7ee1c79a367265@mail.gmail.com> <22618.1161017468@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox