From: Karl Wright <kwright@metacarta.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-admin@postgresql.org
Subject: Re: Export/import issue/question
Date: Tue, 19 Jun 2007 12:50:53 -0400
Message-ID: <4678096D.4030504@metacarta.com> (raw)
In-Reply-To: <29984.1182268843@sss.pgh.pa.us>
References: <4677F3D2.6050909@metacarta.com>
<29984.1182268843@sss.pgh.pa.us>
Tom Lane wrote:
> Karl Wright <kwright@metacarta.com> writes:
>> But, I get the following error:
>> pg_restore: [tar archiver] could not find header for file toc.dat in tar
>> archive
>
> Could we see "pg_restore -l" output for that dump file?
>
> This looks a bit like some bugs we've seen before, eg,
> http://archives.postgresql.org/pgsql-bugs/2006-10/msg00263.php
> but the particular cause of that one wouldn't apply to a 7.4
> dump file.
>
> regards, tom lane
>
You could, if I could get it.
When I do this:
pg_restore -l
it just hangs. No CPU usage, no disk usage - just sits there.
When I do this:
pg_restore -l --file dbsnapshot
... same thing.
When I supply database credentials via -U and -W, then it simply displays:
pg_restore: [tar archiver] could not find header for file toc.dat in tar
archive
Not very helpful, I know. Any other ideas?
Karl
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 using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: kwright@metacarta.com, tgl@sss.pgh.pa.us
Subject: Re: Export/import issue/question
In-Reply-To: <4678096D.4030504@metacarta.com>
* 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