Re: oids and pg_class_oid_index constraint violations

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Aaron Harsh" <ajh(at)rentrak(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: oids and pg_class_oid_index constraint violations
Date: 2005-08-03 20:33:29
Message-ID: 3785.1123101209@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Aaron Harsh" <ajh(at)rentrak(dot)com> writes:
> We've just recently started seeing sporadic constraint violations on system tables. For example:
> duplicate key violates unique constraint "pg_class_oid_index" [for Statement "CREATE TEMPORARY TABLE...

OID wraparound would explain that ...

> and the occasional
> unexpected chunk number 0 (expected 1) for toast value

... but not that. The latter might possibly be due to a corrupt index
on a toast table. If you have a reproducible way of causing it, I'd
definitely love to see it.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2005-08-03 20:48:06 Re: PL/pgSQL: EXCEPTION NOSAVEPOINT
Previous Message Matt Miller 2005-08-03 20:32:30 Re: PL/pgSQL: EXCEPTION NOSAVEPOINT