Re: pg_restore -j
От | Scott Mead |
---|---|
Тема | Re: pg_restore -j |
Дата | |
Msg-id | h2td3ab2ec81004200852rb2c67ab5s9720c46f20d3bca7@mail.gmail.com обсуждение исходный текст |
Ответ на | pg_restore -j (Justin Falk <jfalkmu@gmail.com>) |
Ответы |
Re: pg_restore -j
|
Список | pgsql-admin |
On Wed, Apr 14, 2010 at 2:38 AM, Justin Falk <jfalkmu@gmail.com> 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?
I'm pretty sure that you need to use the 8.4 version of pg_dump when you create the backup file, then it should work.
--Scott
Thanks,
Justin
В списке pgsql-admin по дате отправления: