pg_restore -j

From: Justin Falk <jfalkmu(at)gmail(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: pg_restore -j
Date: 2010-04-14 06:38:09
Message-ID: w2h594c267d1004132338k8aafd351p59eb46a06ceee206@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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?

Thanks,

Justin

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Satish Burnwal (sburnwal) 2010-04-14 11:23:42 Re: Query is stuck
Previous Message Samuel Stearns 2010-04-14 00:41:22 More than 1 pg_database Entry for Database - Thread #2