pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jordi Mulet <jmuletalbiach@yahoo.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: No restore of BLOB data (permissions?)
Date: Wed, 29 Aug 2007 10:49:26 -0400
Message-ID: <412.1188398966@sss.pgh.pa.us> (raw)
In-Reply-To: <944163.55004.qm@web34402.mail.mud.yahoo.com>
References: <944163.55004.qm@web34402.mail.mud.yahoo.com>

Jordi Mulet <jmuletalbiach@yahoo.com> writes:
> Info on log file:
> 2007-08-29 08:46:52 ERROR: duplicate key violates unique constraint "pg_lar=
> geobject_loid_pn_index"

So the problem is you've already *got* that blob, or at least one with
the same OID, in the target database.  Try restoring into an empty
database.

			regards, tom lane



view thread (5+ messages)

Message-ID: <412.1188398966@sss.pgh.pa.us>
Permalink:  ../412.1188398966@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/412.1188398966@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-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, jmuletalbiach@yahoo.com
  Subject: Re: No restore of BLOB data (permissions?)
  In-Reply-To: <412.1188398966@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