pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: warren little <warren.little@meridiascapital.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Emergency - Need assistance
Date: Mon, 02 Jan 2006 15:10:04 -0500
Message-ID: <11864.1136232604@sss.pgh.pa.us> (raw)
In-Reply-To: <1136228730.16094.12.camel@sharp>
References: <1136228730.16094.12.camel@sharp>

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



view thread (7+ messages)  latest in thread

Message-ID: <11864.1136232604@sss.pgh.pa.us>
Permalink:  ../11864.1136232604@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/11864.1136232604@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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, warren.little@meridiascapital.com
  Subject: Re: Emergency - Need assistance
  In-Reply-To: <11864.1136232604@sss.pgh.pa.us>
  References: <1136228730.16094.12.camel@sharp> <11864.1136232604@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