Thread: pgsql: Implement dry-run mode for pg_archivecleanup

pgsql: Implement dry-run mode for pg_archivecleanup

From
Alvaro Herrera
Date:
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

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/b2e431a4db81a735d1474c4d1565a20b835878c9

Modified Files
--------------
contrib/pg_archivecleanup/pg_archivecleanup.c |   23 ++++++++++++++++++++++-
doc/src/sgml/pgarchivecleanup.sgml            |    9 +++++++++
2 files changed, 31 insertions(+), 1 deletions(-)