Re: pg_restore -j

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Justin Falk <jfalkmu(at)gmail(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: pg_restore -j
Date: 2010-04-20 15:26:21
Message-ID: 201004201526.o3KFQLg20703@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Justin Falk wrote:
> Hi,
>
> I'm trying to use the -j option on pg_restore while restoring a database
> into PG 8.4.3.
>
> The dump was executed on PG 8.3.7 (Windows, Server 2003) using:
>
> pg_dump -Fc -U postgres mydb > mydb.backup
>
> This results in a ~3.4 GB dump file.
>
> When I try to restore I'm using:
>
> pg_restore -d mydb -U postgres -j 4 mydb.backup
>
> This results in an error:
>
> pg_restore: [custom archiver] dumping a specific TOC data block out of order
> not supported without ID on this input stream (fseek required)
>
> The dump works fine if I omit the -j option. What am I doing wrong?

Perhaps this is fixed in 8.3.10.

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2010-04-20 15:28:53 Re: drop database / create database / data still here ?
Previous Message Bruce Momjian 2010-04-20 15:25:07 Re: drop database / create database / data still here ?