Re: BUG #4699: pg_restore hangs with incorrect file format

From: Scott Reed <sreed(at)avacoda(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #4699: pg_restore hangs with incorrect file format
Date: 2009-03-10 21:02:45
Message-ID: 49B6D575.2040305@avacoda.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Tom,
My apologies for wasting your time. I wasn't calling pg_restore as I'd
described but with the -f flag so of course it was hanging waiting for
input. I hope my embarrassment is sufficient punishment.
Would you accept the second part of that post about handling the file
name in pgAdmin Backup and Restore? I will resubmit if you think it
would be useful.
Scott

Tom Lane [3/10/2009 3:43 PM] wrote:
> "Scott Reed" <sreed(at)avacoda(dot)com> writes:
> > "pg_restore <filename>" hangs if the file format is not one of the
> > non-plain-text formats created by pg_dump.
>
> When I try to reproduce this I get
> pg_restore: [archiver] input file does not appear to be a valid archive
>
> Perhaps there are specific cases where it gets confused, but you'll need
> to submit a sample file for us to poke at.
>
> Another possible explanation is that this is a bug that's been fixed
> since whichever 8.3.x release you are using (which you didn't specify,
> tut tut).
>
> regards, tom lane
>
>

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2009-03-10 23:54:59 Re: BUG #4699: pg_restore hangs with incorrect file format
Previous Message Tom Lane 2009-03-10 19:43:37 Re: BUG #4699: pg_restore hangs with incorrect file format