update docs

This commit is contained in:
Dmitry Ivanov 2017-03-22 16:32:11 +03:00
parent 6a51ed209d
commit 698d1ddfdd

View File

@ -117,6 +117,7 @@ The following options can be specified in ``OPTIONS``.
Options: Options:
-a, --all repack all databases -a, --all repack all databases
-t, --table=TABLE repack specific table only -t, --table=TABLE repack specific table only
-I, --parent-table=TABLE repack specific parent table and its inheritors
-c, --schema=SCHEMA repack tables in specific schema only -c, --schema=SCHEMA repack tables in specific schema only
-s, --tablespace=TBLSPC move repacked tables to a new tablespace -s, --tablespace=TBLSPC move repacked tables to a new tablespace
-S, --moveidx move repacked indexes to *TBLSPC* too -S, --moveidx move repacked indexes to *TBLSPC* too
@ -158,6 +159,10 @@ Reorg Options
reorganized by writing multiple ``-t`` switches. By default, all eligible reorganized by writing multiple ``-t`` switches. By default, all eligible
tables in the target databases are reorganized. tables in the target databases are reorganized.
``-I TABLE``, ``--parent-table=TABLE``
Reorganize both the specified table(s) and its inheritors. Multiple
table hierarchies may be reorganized by writing multiple ``-I`` switches.
``-c``, ``--schema`` ``-c``, ``--schema``
Repack the tables in the specified schema(s) only. Multiple schemas may Repack the tables in the specified schema(s) only. Multiple schemas may
be repacked by writing multiple ``-c`` switches. May be used in be repacked by writing multiple ``-c`` switches. May be used in
@ -197,7 +202,7 @@ Reorg Options
``-x``, ``--only-indexes`` ``-x``, ``--only-indexes``
Repack only the indexes of the specified table(s), which must be specified Repack only the indexes of the specified table(s), which must be specified
with the ``--table`` option. with the ``--table`` or ``--parent-table`` options.
``-T SECS``, ``--wait-timeout=SECS`` ``-T SECS``, ``--wait-timeout=SECS``
pg_repack needs to take an exclusive lock at the end of the pg_repack needs to take an exclusive lock at the end of the
@ -227,7 +232,7 @@ Connection Options
^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^
Options to connect to servers. You cannot use ``--all`` and ``--dbname`` or Options to connect to servers. You cannot use ``--all`` and ``--dbname`` or
``--table`` together. ``--table``/``--parent-table`` together.
``-a``, ``--all`` ``-a``, ``--all``
Reorganize all databases. Reorganize all databases.