pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Greg Johnson <greg.johnson@interprose.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #6127: pg_restore failing: unexpected message type 0x58 during COPY from stdin
Date: Thu, 21 Jul 2011 15:58:29 -0400
Message-ID: <19302.1311278309@sss.pgh.pa.us> (raw)
In-Reply-To: <CAD6QHKQdqgi=VidKM6Erj9Vi8Z6ff_bBncqtt-hJX3Z+n9KTyQ@mail.gmail.com>
References: <201107211613.p6LGDXLC082569@wwwmaster.postgresql.org>
	<17983.1311273888@sss.pgh.pa.us>
	<CAD6QHKQdqgi=VidKM6Erj9Vi8Z6ff_bBncqtt-hJX3Z+n9KTyQ@mail.gmail.com>

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



view thread (10+ messages)  latest in thread

Message-ID: <19302.1311278309@sss.pgh.pa.us>
Permalink:  ../19302.1311278309@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/19302.1311278309@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-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, greg.johnson@interprose.com
  Subject: Re: BUG #6127: pg_restore failing: unexpected message type 0x58 during COPY from stdin
  In-Reply-To: <19302.1311278309@sss.pgh.pa.us>
  References: <201107211613.p6LGDXLC082569@wwwmaster.postgresql.org> <17983.1311273888@sss.pgh.pa.us> <CAD6QHKQdqgi=VidKM6Erj9Vi8Z6ff_bBncqtt-hJX3Z+n9KTyQ@mail.gmail.com> <19302.1311278309@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