Skip to content

Commit e49d5eb

Browse files
committed
Document the pg_upgrade -j/--jobs option as taking an argument
1 parent 701a51f commit e49d5eb

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

doc/src/sgml/ref/pgupgrade.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,8 @@
114114
</varlistentry>
115115

116116
<varlistentry>
117-
<term><option>-j</option></term>
118-
<term><option>--jobs</option></term>
117+
<term><option>-j <replaceable class="parameter">njobs</replaceable></option></term>
118+
<term><option>--jobs=<replaceable class="parameter">njobs</replaceable></option></term>
119119
<listitem><para>number of simultaneous processes or threads to use
120120
</para></listitem>
121121
</varlistentry>

src/bin/pg_upgrade/option.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ usage(void)
295295
printf(_(" -c, --check check clusters only, don't change any data\n"));
296296
printf(_(" -d, --old-datadir=DATADIR old cluster data directory\n"));
297297
printf(_(" -D, --new-datadir=DATADIR new cluster data directory\n"));
298-
printf(_(" -j, --jobs number of simultaneous processes or threads to use\n"));
298+
printf(_(" -j, --jobs=NUM number of simultaneous processes or threads to use\n"));
299299
printf(_(" -k, --link link instead of copying files to new cluster\n"));
300300
printf(_(" -o, --old-options=OPTIONS old cluster options to pass to the server\n"));
301301
printf(_(" -O, --new-options=OPTIONS new cluster options to pass to the server\n"));

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy