Emergency - Need assistance

From: warren little <warren(dot)little(at)meridiascapital(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: Emergency - Need assistance
Date: 2006-01-02 19:05:29
Message-ID: 1136228730.16094.12.camel@sharp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

I received the following error message when trying to copy a table from
one database to another on the same cluster:

pg_dump: The command was: FETCH 100 FROM _pg_dump_cursor
pg_restore: [custom archiver] could not read data block -- expected 1,
got 0
pg_restore: *** aborted because of error

The table contains a bytea column which houses pdf documents.
Is this a sign of corrupted data and if so would setting
"zero_damaged_pages = true" allow the copy to proceed?

The table is about 25GB in size and takes a long time to dump/restore
and I'm running out of time to get the cluster back into production.

note running:
PostgreSQL 8.1beta4 on x86_64-unknown-linux-gnu, compiled by GCC gcc
(GCC) 3.4.4 20050721 (Red Hat 3.4.4-2)"

--
Warren Little
CTO
Meridias Capital Inc
ph 866.369.7763

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2006-01-02 20:10:04 Re: Emergency - Need assistance
Previous Message Tom Lane 2006-01-02 17:45:29 Re: full data disk -- any chance of recovery