Received: from localhost (maia-2.hub.org [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id AD5E39FA3F3 for ; Wed, 29 Aug 2007 11:49:31 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 04055-05-3 for ; Wed, 29 Aug 2007 11:49:21 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id E09299FA3B3 for ; Wed, 29 Aug 2007 11:49:27 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.1/8.14.1) with ESMTP id l7TEnQ6k000413; Wed, 29 Aug 2007 10:49:26 -0400 (EDT) To: Jordi Mulet cc: pgsql-admin@postgresql.org Subject: Re: No restore of BLOB data (permissions?) In-reply-to: <944163.55004.qm@web34402.mail.mud.yahoo.com> References: <944163.55004.qm@web34402.mail.mud.yahoo.com> Comments: In-reply-to Jordi Mulet message dated "Tue, 28 Aug 2007 23:49:02 -0700" Date: Wed, 29 Aug 2007 10:49:26 -0400 Message-ID: <412.1188398966@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200708/391 X-Sequence-Number: 26722 Jordi Mulet 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