From 698d1ddfdd61e977074c57ff6918ff7c8eb7c471 Mon Sep 17 00:00:00 2001 From: Dmitry Ivanov Date: Wed, 22 Mar 2017 16:32:11 +0300 Subject: [PATCH] update docs --- doc/pg_repack.rst | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/doc/pg_repack.rst b/doc/pg_repack.rst index 2205cbb..04b8304 100644 --- a/doc/pg_repack.rst +++ b/doc/pg_repack.rst @@ -117,6 +117,7 @@ The following options can be specified in ``OPTIONS``. Options: -a, --all repack all databases -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 -s, --tablespace=TBLSPC move repacked tables to a new tablespace -S, --moveidx move repacked indexes to *TBLSPC* too @@ -158,6 +159,10 @@ Reorg Options reorganized by writing multiple ``-t`` switches. By default, all eligible 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`` Repack the tables in the specified schema(s) only. Multiple schemas may be repacked by writing multiple ``-c`` switches. May be used in @@ -197,7 +202,7 @@ Reorg Options ``-x``, ``--only-indexes`` 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`` 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 -``--table`` together. +``--table``/``--parent-table`` together. ``-a``, ``--all`` Reorganize all databases.