Re: pqlib large object error

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Edward Amsden <amsden_linux(at)embarqmail(dot)com>
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: pqlib large object error
Date: 2008-06-10 20:49:56
Message-ID: 24396.1213130996@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

Edward Amsden <amsden_linux(at)embarqmail(dot)com> writes:
> On Tue, 2008-06-10 at 14:29 -0400, Tom Lane wrote:
>> Edward Amsden <amsden_linux(at)embarqmail(dot)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

In response to

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Tom Lane 2008-06-10 21:06:23 Re: pqlib large object error
Previous Message Edward Amsden 2008-06-10 20:37:22 Re: pqlib large object error