Re: duplicate key violates unique constraint pg_toast_635216540 - Mailing list pgsql-bugs

From Tom Lane
Subject Re: duplicate key violates unique constraint pg_toast_635216540
Date
Msg-id 22618.1161017468@sss.pgh.pa.us
Whole thread Raw
In response to Re: duplicate key violates unique constraint pg_toast_635216540  ("Paul Laughlin" <plaughlin@gmail.com>)
Responses Re: duplicate key violates unique constraint pg_toast_635216540  ("Paul Laughlin" <plaughlin@gmail.com>)
List pgsql-bugs
"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

pgsql-bugs by date:

Previous
From: "Paul Laughlin"
Date:
Subject: Re: duplicate key violates unique constraint pg_toast_635216540
Next
From: David Fetter
Date:
Subject: Re: BUG #2683: spi_exec_query in plperl returns column names which are not marked as UTF8