diff options
| author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2012-02-01 13:56:59 -0300 |
|---|---|---|
| committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2012-02-01 14:18:12 -0300 |
| commit | b2e431a4db81a735d1474c4d1565a20b835878c9 (patch) | |
| tree | ce6c8589e56179be38882ead46541f0451045f17 /doc/src | |
| parent | 21238deea50e194bfa1c844b01ffbd15ed56c01a (diff) | |
Implement dry-run mode for pg_archivecleanup
In dry-run mode, just the name of the file to be removed is printed to
stdout; this is so the user can easily plug it into another program
through a pipe. If debug mode is also specified, a more verbose message
is printed to stderr.
Author: Gabriele Bartolini
Reviewer: Josh Kupershmidt
Diffstat (limited to 'doc/src')
| -rw-r--r-- | doc/src/sgml/pgarchivecleanup.sgml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/src/sgml/pgarchivecleanup.sgml b/doc/src/sgml/pgarchivecleanup.sgml index ddffa321f63..8148c53d3a0 100644 --- a/doc/src/sgml/pgarchivecleanup.sgml +++ b/doc/src/sgml/pgarchivecleanup.sgml @@ -98,6 +98,15 @@ pg_archivecleanup: removing file "archive/00000001000000370000000E" </listitem> </varlistentry> + <varlistentry> + <term><option>-n</option></term> + <listitem> + <para> + Print the names of the files that would have been removed on <filename>stdout</> (performs a dry run). + </para> + </listitem> + </varlistentry> + </variablelist> </para> |
