Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit e49d5eb

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

File tree

Expand file treeCollapse file tree

2 files changed

+3
-3
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+3
-3
lines changed

‎doc/src/sgml/ref/pgupgrade.sgml

Copy file name to clipboardExpand all lines: doc/src/sgml/ref/pgupgrade.sgml
+2-2Lines 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

Copy file name to clipboardExpand all lines: src/bin/pg_upgrade/option.c
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.