Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-interfaces by date

Next:From: Tom LaneDate: 2008-06-10 21:06:23
Subject: Re: pqlib large object error
Previous:From: Edward AmsdenDate: 2008-06-10 20:37:22
Subject: Re: pqlib large object error

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group