diff --git a/bin/pg_repack.c b/bin/pg_repack.c index 6569bc3..759434a 100644 --- a/bin/pg_repack.c +++ b/bin/pg_repack.c @@ -1542,8 +1542,8 @@ pgut_help(bool details) printf("Options:\n"); printf(" -a, --all repack all databases\n"); printf(" -t, --table=TABLE repack specific table only\n"); - printf(" -s, --tablespace=TABLESPC move repacked tables to a new tablespace\n"); - printf(" -S, --moveidx move repacked indexes to TABLESPC too\n"); + printf(" -s, --tablespace=TBLSPC move repacked tables to a new tablespace\n"); + printf(" -S, --moveidx move repacked indexes to TBLSPC too\n"); printf(" -o, --order-by=COLUMNS order by columns instead of cluster keys\n"); printf(" -n, --no-order do vacuum full instead of cluster\n"); printf(" -j --jobs Use this many parallel jobs for each table\n"); diff --git a/doc/pg_repack.rst b/doc/pg_repack.rst index d066eb5..43b1a76 100644 --- a/doc/pg_repack.rst +++ b/doc/pg_repack.rst @@ -118,8 +118,8 @@ The following options can be specified in ``OPTIONS``. Options: -a, --all repack all databases -t, --table=TABLE repack specific table only - -s, --tablespace=TABLESPC move repacked tables to a new tablespace - -S, --moveidx move repacked indexes to TABLESPC too + -s, --tablespace=TBLSPC move repacked tables to a new tablespace + -S, --moveidx move repacked indexes to TBLSPC too -o, --order-by=COLUMNS order by columns instead of cluster keys -n, --no-order do vacuum full instead of cluster -j, --jobs Use this many parallel jobs for each table @@ -165,7 +165,7 @@ Reorg Options on each table. If your PostgreSQL server has extra cores and disk I/O available, this can be a useful way to speed up pg_repack. -``-s TABLESPC``, ``--tablespace=TABLESPC`` +``-s TBLSPC``, ``--tablespace=TBLSPC`` Move the repacked tables to the specified tablespace: essentially an online version of ``ALTER TABLE ... SET TABLESPACE``. The tables indexes are left on the original tablespace unless ``--moveidx`` is specified too.