Re: BUG #6127: pg_restore failing: unexpected message type 0x58 during COPY from stdin - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #6127: pg_restore failing: unexpected message type 0x58 during COPY from stdin
Date
Msg-id 19302.1311278309@sss.pgh.pa.us
Whole thread Raw
In response to BUG #6127: pg_restore failing: unexpected message type 0x58 during COPY from stdin  ("Greg Johnson" <greg.johnson@interprose.com>)
Responses Re: BUG #6127: pg_restore failing: unexpected message type 0x58 during COPY from stdin
List pgsql-bugs
Greg Johnson <greg.johnson@interprose.com> writes:
> On Thu, Jul 21, 2011 at 11:44 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> This looks like pg_restore is terminating unexpectedly.  What do you see
>> on the client end of it?

> pg_restore: [custom archiver] could not read from input file: end of file

Well, that suggests you have a truncated or otherwise corrupted pg_dump
archive file.  Do you get a similar failure if you just do "pg_restore
-l" on the archive file?  Is the pg_dump run reporting any signs of
distress?

            regards, tom lane

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #6127: pg_restore failing: unexpected message type 0x58 during COPY from stdin
Next
From: Tom Lane
Date:
Subject: Re: BUG #6127: pg_restore failing: unexpected message type 0x58 during COPY from stdin