Re: Emergency - Need assistance - Mailing list pgsql-admin

From Tom Lane
Subject Re: Emergency - Need assistance
Date
Msg-id 11864.1136232604@sss.pgh.pa.us
Whole thread Raw
In response to Emergency - Need assistance  (warren little <warren.little@meridiascapital.com>)
Responses Re: Emergency - Need assistance  (warren little <warren.little@meridiascapital.com>)
List pgsql-admin
warren little <warren.little@meridiascapital.com> writes:
> 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

You seem to have omitted the messages that would indicate what's
actually wrong; the above is all just subsidiary damage after whatever
caused the FETCH to fail.

> 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)"

You're running a production database on a beta release??

            regards, tom lane

pgsql-admin by date:

Previous
From: warren little
Date:
Subject: Emergency - Need assistance
Next
From: warren little
Date:
Subject: Re: Emergency - Need assistance