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: Tue, 28 Aug 2007 09:35:57 -0400
Message-ID: <23287.1188308157@sss.pgh.pa.us> (raw)
In-Reply-To: <509760.64585.qm@web34415.mail.mud.yahoo.com>
References: <509760.64585.qm@web34415.mail.mud.yahoo.com>

Jordi Mulet <jmuletalbiach@yahoo.com> writes:
> Hi,=0A I tried to backup and restore a database  (including blob data) and =
> pg_restore give me an error (pg_dump seems to be working Ok).=0AMessage.=0A=
> pg_restore  -c -h localhost -p 5432 -U postgres -d database1 -v database1.b=
> ackup=0A=0Apg_restore: restoring BLOBS=0Apg_restore: [archiver] could not c=
> reate large object 16591=0Apg_restore: *** aborted because of error=0A=0Apg=
> _dump.exe -h localhost -p 5432 -U postgres -v -o -F c -b  database1 -f  "da=
> tabase1.backup"=0A=0Adatabase1.backup is created (aprox. 25 MB)=0A=0Aerror =
> code 0=0A=0AI tried  pg_restore -l  in order to list contents of backup fil=
> e and it seems some problem is detected on database1.backup:=0A=0A1690; 0 0=
>  BLOBS - BLOBS =0A1691; 0 0 BLOB COMMENTS - BLOB COMMENTS=0A=0A=0A       =

Please fix your mailer to not mangle text like that ...

Anyway. I'm wondering about version skew.  What PG version is this, and
in particular are the pg_restore and server the same version?  What
shows up in the postmaster log when this happens?

			regards, tom lane



view thread (5+ messages)  latest in thread

Message-ID: <23287.1188308157@sss.pgh.pa.us>
Permalink:  ../23287.1188308157@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/23287.1188308157@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: <23287.1188308157@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