pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <bruce@momjian.us>
To: Justin Falk <jfalkmu@gmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: pg_restore -j
Date: Tue, 20 Apr 2010 11:26:21 -0400 (EDT)
Message-ID: <201004201526.o3KFQLg20703@momjian.us> (raw)
In-Reply-To: <w2h594c267d1004132338k8aafd351p59eb46a06ceee206@mail.gmail.com>

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@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com



view thread (8+ messages)  latest in thread

Message-ID: <201004201526.o3KFQLg20703@momjian.us>
Permalink:  ../201004201526.o3KFQLg20703@momjian.us/
Also on:    postgresql.org/message-id/201004201526.o3KFQLg20703@momjian.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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: bruce@momjian.us, jfalkmu@gmail.com
  Subject: Re: pg_restore -j
  In-Reply-To: <201004201526.o3KFQLg20703@momjian.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