pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Edward Amsden <amsden_linux@embarqmail.com>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: pqlib large object error
Date: Tue, 10 Jun 2008 16:49:56 -0400
Message-ID: <24396.1213130996@sss.pgh.pa.us> (raw)
In-Reply-To: <1213130242.15557.3.camel@dad-desktop2>
References: <1213118594.9123.11.camel@dad-desktop2>
	<21991.1213122593@sss.pgh.pa.us>
	<1213130242.15557.3.camel@dad-desktop2>

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



view thread (13+ messages)  latest in thread

Message-ID: <24396.1213130996@sss.pgh.pa.us>
Permalink:  ../24396.1213130996@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/24396.1213130996@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: tgl@sss.pgh.pa.us, amsden_linux@embarqmail.com
  Subject: Re: pqlib large object error
  In-Reply-To: <24396.1213130996@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox