pg_restore: archiver error - Mailing list pgsql-general

From Johnson, Shaunn
Subject pg_restore: archiver error
Date
Msg-id 73309C2FDD95D11192E60008C7B1D5BB04C73CE3@snt452.corp.bcbsm.com
Whole thread Raw
List pgsql-general

Howdy:

Running PostgreSQL 7.1.3 and migrating to PostgreSQL 7.2.1.

While trying to use the new (7.2.1) pg_dump / pg_restore to
grab the data from the 7.1.3 database, I run into an error
when I hit a table:

[snip]

/backup/pg_dump -i -Fc -d testdb | /backup/pg_restore -v -h 192.168.0.2 -d testdb
pg_restore: [archiver (db)] could not execute query:
ERROR:  Relation "ref_memmonth_spans" does not exist
pg_restore: *** aborted because of error

[/snip]

I am looking at the table on the database (in 7.1.3) and it
seems okay.  My question is:  what exactly is this
error talking about and why am I not able to dump the
table *by itself* but I can do the others?  (Thought about
it being corrupt, but not sure how to prove that).

Thanks!

-X

pgsql-general by date:

Previous
From: Rosario Peluso
Date:
Subject: Command execution goes stuck...
Next
From: "Daniel Bakken"
Date:
Subject: DELETE FROM error message