Re: pg_dump: dumpBlobs(): error reading large object: ERROR:

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Sergio Pili <sergio(dot)pili(at)spm(dot)com(dot)ar>
Cc: "'pgsql-admin(at)postgresql(dot)org'" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: pg_dump: dumpBlobs(): error reading large object: ERROR:
Date: 2003-07-17 18:32:30
Message-ID: 5791.1058466750@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Sergio Pili <sergio(dot)pili(at)spm(dot)com(dot)ar> writes:
> pg_dump abort with this error:
> pg_dump: dumpBlobs(): error reading large object: ERROR: cannot read block
> 6389 of pg_largeobject_loid_pn_index: Input/output error

> This error is caused by bad block on my hard drive?

Looks like it.

> How can i do to recover database without lost blobs? Or to lose less
> information?

If the only loss is in that index, you can rebuild the index using
REINDEX.

regards, tom lane

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Charles Haron 2003-07-17 21:34:37 Adding PL/Perl
Previous Message Tom Lane 2003-07-17 18:18:42 Re: Arrays in pl/pgsql functions