Received: from maia.hub.org (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id 4B8A36322CF for ; Sat, 17 Apr 2010 13:31:33 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 64006-05 for ; Sat, 17 Apr 2010 16:31:12 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-iw0-f187.google.com (mail-iw0-f187.google.com [209.85.223.187]) by mail.postgresql.org (Postfix) with ESMTP id 9ED676322C2 for ; Sat, 17 Apr 2010 13:31:22 -0300 (ADT) Received: by iwn17 with SMTP id 17so2090766iwn.19 for ; Sat, 17 Apr 2010 09:31:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:received:message-id :subject:from:to:content-type; bh=sdr9fLlw4roMq9Ozh1nkb7XZlaQJXes+k/Yg7xHrHrg=; b=grTjo+55g3SJa8waceKXKMx73w8rk7F2kcJK+/4aiBPoiD2F4YbgVdoHej8uU3oClo bQCbdJzaqwl2bFahMYY8m3eVmUhvAMj/Yxq/qwNCJPZK1O9CcktkAX6Khvzbmmw6YtLw D4o87r3RmEmlNsP1w7JD5Xqif9HACngSUNjnk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=L3iKtsXFlummqXkQ3T06/ViUNOWcg5eopitd/QxunBBfrnno2ljkYW0XgcBVsvKfs7 +jVhJbxDq22rs9HEBis/kCd3XkDL02wtbZ2SOU50pscrwcM3wfe7OV6hJNzL16FNH7em Zy0gHfgLsJ92hx5XuEaeH4a3/huQL9nytBcec= MIME-Version: 1.0 Received: by 10.231.11.66 with HTTP; Sat, 17 Apr 2010 09:31:21 -0700 (PDT) Date: Sat, 17 Apr 2010 12:31:21 -0400 Received: by 10.231.160.135 with SMTP id n7mr1098238ibx.26.1271521881707; Sat, 17 Apr 2010 09:31:21 -0700 (PDT) Message-ID: Subject: pg_restore error From: Bryan White To: pgsql-admin@postgresql.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-10 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201004/238 X-Sequence-Number: 34332 I am trying to load a data base using pg_restore. We are migrating to a new server and I want to see if I can make the load go faster if I load with pg_restore instead of psql. The old server is: CentOS upgraded to 5.4 64bit with the stock PostgreSQL 8.1. The dump file was created with: pg_dump --format=c --file=ec.restore ec where ec is the name of the database. It is encoded SQL_ASCII. I plan on converting to UTF-8 but I can't do that quite yet. The new server is CentOS 5.4 64 bit with PostgreSQL 8.4 installed from the YUM repo on the PostgreSQL site. The restore command is: createdb -E SQL_ASCII -T template0 ec pg_restore -dec -j2 ec.restore I get this error: pg_restore: [custom archiver] dumping a specific TOC data block out of order is not supported without ID on this input stream (fseek required) pg_restore: [archiver] worker process failed: exit code 1 It seems to run if I ommit the -j2 option. (Though as of this moment is has not completed). Is there a known problem with using parallel loading in 8.4 from a file created with an 8.1 database? -- Bryan White