Skip to content

Commit c2fa3a0

Browse files
author
Steeve Lennmark
committed
Add documentation for --schema
1 parent e164724 commit c2fa3a0

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

doc/pg_repack.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ The following options can be specified in ``OPTIONS``.
117117
Options:
118118
-a, --all repack all databases
119119
-t, --table=TABLE repack specific table only
120+
-c, --schema=SCHEMA repack specific schema only
120121
-s, --tablespace=TBLSPC move repacked tables to a new tablespace
121122
-S, --moveidx move repacked indexes to *TBLSPC* too
122123
-o, --order-by=COLUMNS order by columns instead of cluster keys
@@ -154,6 +155,11 @@ Reorg Options
154155
reorganized by writing multiple ``-t`` switches. By default, all eligible
155156
tables in the target databases are reorganized.
156157

158+
``-c``, ``--schema``
159+
Repack the specified schema(s) only. Multiple schemas may be repacked
160+
by writing multiple ``-c`` switches. May be used in conjunction with
161+
``--tablespace`` to move tables and indexes to a different tablespace.
162+
157163
``-o COLUMNS [,...]``, ``--order-by=COLUMNS [,...]``
158164
Perform an online CLUSTER ordered by the specified columns.
159165

@@ -443,6 +449,7 @@ Releases
443449
* Bugfix: correctly handle key indexes with options such as DESC, NULL
444450
FIRST/LAST, COLLATE (pg_repack issue #3).
445451
* More helpful program output and error messages.
452+
* Added ``--schema`` to repack only specific schema.
446453

447454
* pg_repack 1.1.8
448455

0 commit comments

Comments
 (0)