mirror of
https://github.com/postgres/postgres.git
synced 2026-01-26 09:41:40 +03:00
doc: Improve description of pg_restore --jobs
The parameter name used for the option value was named "number-of-jobs", which was inconsistent with what all the other tools with an option called --jobs use. This commit updates the parameter name to "njobs". Author: Tatsuro Yamada <yamatattsu@gmail.com> Discussion: https://postgr.es/m/CAOKkKFvHqA6Tny0RKkezWVfVV91nPJyj4OGtMi3C1RznDVXqrg@mail.gmail.com
This commit is contained in:
@@ -259,14 +259,14 @@ PostgreSQL documentation
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><option>-j <replaceable class="parameter">number-of-jobs</replaceable></option></term>
|
||||
<term><option>--jobs=<replaceable class="parameter">number-of-jobs</replaceable></option></term>
|
||||
<term><option>-j <replaceable class="parameter">njobs</replaceable></option></term>
|
||||
<term><option>--jobs=<replaceable class="parameter">njobs</replaceable></option></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Run the most time-consuming steps
|
||||
of <application>pg_restore</application> — those that load data,
|
||||
create indexes, or create constraints — concurrently, using up
|
||||
to <replaceable class="parameter">number-of-jobs</replaceable>
|
||||
to <replaceable class="parameter">njobs</replaceable>
|
||||
concurrent sessions. This option can dramatically reduce the time
|
||||
to restore a large database to a server running on a
|
||||
multiprocessor machine. This option is ignored when emitting a script
|
||||
|
||||
Reference in New Issue
Block a user