Re: pg_restore --multi-thread

Andrew Dunstan <andrew@dunslane.net>

From: Andrew Dunstan <andrew@dunslane.net>
To: Cédric Villemain <cedric.villemain@dalibo.com>
Cc: jd@commandprompt.com, Tom Lane <tgl@sss.pgh.pa.us>, Peter Eisentraut <peter_e@gmx.net>, pgsql-hackers@postgresql.org
Date: 2009-02-16T22:47:04Z
Lists: pgsql-hackers

Cédric Villemain wrote:
>
>  -j [jobs], --jobs[=jobs]
>   Specifies  the  number  of jobs (pg_restore) to run simultaneously. If the -j
> option is given without an argument, pg_restore will not limit the number of
> jobs that can run simultaneously.
>
>   


Quite apart from anything else, this description is almost 100% dead 
wrong.  The argument is not optional at all, and there is no unlimited 
parallelism. If you want to know how it actually works look at the dev docs.

cheers

andrew