Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 03BC2634AB4 for ; Tue, 20 Apr 2010 13:19:43 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 95833-01 for ; Tue, 20 Apr 2010 16:19:33 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from momjian.us (momjian.us [70.90.9.53]) by mail.postgresql.org (Postfix) with ESMTP id 5E56B634E8E for ; Tue, 20 Apr 2010 12:26:23 -0300 (ADT) Received: (from bruce@localhost) by momjian.us (8.11.6/8.11.6) id o3KFQLg20703; Tue, 20 Apr 2010 11:26:21 -0400 (EDT) From: Bruce Momjian Message-Id: <201004201526.o3KFQLg20703@momjian.us> Subject: Re: pg_restore -j In-Reply-To: To: Justin Falk Date: Tue, 20 Apr 2010 11:26:21 -0400 (EDT) CC: pgsql-admin@postgresql.org X-Mailer: ELM [version 2.4ME+ PL124 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="US-ASCII" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-10 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201004/281 X-Sequence-Number: 34375 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 http://momjian.us EnterpriseDB http://enterprisedb.com