Re: No restore of BLOB data (permissions?)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jordi Mulet <jmuletalbiach(at)yahoo(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: No restore of BLOB data (permissions?)
Date: 2007-08-28 13:35:57
Message-ID: 23287.1188308157@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Jordi Mulet <jmuletalbiach(at)yahoo(dot)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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message qinghuamail-postgresqlfans 2007-08-28 13:40:57 回复: [ADMIN] {Spam} 转发: [ADMIN] Copy cmd error
Previous Message Jayakumar_Mukundaraju 2007-08-28 10:09:56 Re: No restore of BLOB data (permissions?)