Skip to content

Commit 0e74882

Browse files
committed
Had to shorten the tablespace metavar
In the rst docs two spaces are required between option and doc.
1 parent 42c65d1 commit 0e74882

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

bin/pg_repack.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1542,8 +1542,8 @@ pgut_help(bool details)
15421542
printf("Options:\n");
15431543
printf(" -a, --all repack all databases\n");
15441544
printf(" -t, --table=TABLE repack specific table only\n");
1545-
printf(" -s, --tablespace=TABLESPC move repacked tables to a new tablespace\n");
1546-
printf(" -S, --moveidx move repacked indexes to TABLESPC too\n");
1545+
printf(" -s, --tablespace=TBLSPC move repacked tables to a new tablespace\n");
1546+
printf(" -S, --moveidx move repacked indexes to TBLSPC too\n");
15471547
printf(" -o, --order-by=COLUMNS order by columns instead of cluster keys\n");
15481548
printf(" -n, --no-order do vacuum full instead of cluster\n");
15491549
printf(" -j --jobs Use this many parallel jobs for each table\n");

doc/pg_repack.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,8 @@ The following options can be specified in ``OPTIONS``.
118118
Options:
119119
-a, --all repack all databases
120120
-t, --table=TABLE repack specific table only
121-
-s, --tablespace=TABLESPC move repacked tables to a new tablespace
122-
-S, --moveidx move repacked indexes to TABLESPC too
121+
-s, --tablespace=TBLSPC move repacked tables to a new tablespace
122+
-S, --moveidx move repacked indexes to TBLSPC too
123123
-o, --order-by=COLUMNS order by columns instead of cluster keys
124124
-n, --no-order do vacuum full instead of cluster
125125
-j, --jobs Use this many parallel jobs for each table
@@ -165,7 +165,7 @@ Reorg Options
165165
on each table. If your PostgreSQL server has extra cores and disk
166166
I/O available, this can be a useful way to speed up pg_repack.
167167

168-
``-s TABLESPC``, ``--tablespace=TABLESPC``
168+
``-s TBLSPC``, ``--tablespace=TBLSPC``
169169
Move the repacked tables to the specified tablespace: essentially an
170170
online version of ``ALTER TABLE ... SET TABLESPACE``. The tables indexes
171171
are left on the original tablespace unless ``--moveidx`` is specified too.

0 commit comments

Comments
 (0)