Re: pqlib large object error - Mailing list pgsql-interfaces

From Tom Lane
Subject Re: pqlib large object error
Date
Msg-id 24396.1213130996@sss.pgh.pa.us
Whole thread Raw
In response to Re: pqlib large object error  (Edward Amsden <amsden_linux@embarqmail.com>)
Responses Re: pqlib large object error  (Edward Amsden <amsden_linux@embarqmail.com>)
List pgsql-interfaces
Edward Amsden <amsden_linux@embarqmail.com> writes:
> On Tue, 2008-06-10 at 14:29 -0400, Tom Lane wrote:
>> Edward Amsden <amsden_linux@embarqmail.com> writes:
>>> I cannot seem to figure this error message out:
>>> 
>>> ERROR:  duplicate key value violates unique constraint "pg_largeobject_loid_pn_index"
>> 
>> Huh, that shouldn't happen.  Is it repeatable?

> Yes. It happens every time the program runs, no matter what db or user,
> tried unix socket and tcp connect

>> What PG version
>> is your server?

> 8.3.1, running on Ubuntu Linux

Hmph.  The only thing I can think of is that that index is corrupt,
but it seems unlikely that it would be so in all databases.  What
happens if you REINDEX pg_largeobject?
        regards, tom lane


pgsql-interfaces by date:

Previous
From: Edward Amsden
Date:
Subject: Re: pqlib large object error
Next
From: Tom Lane
Date:
Subject: Re: pqlib large object error