From b2e431a4db81a735d1474c4d1565a20b835878c9 Mon Sep 17 00:00:00 2001 From: Alvaro Herrera Date: Wed, 1 Feb 2012 13:56:59 -0300 Subject: 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 --- doc/src/sgml/pgarchivecleanup.sgml | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'doc/src') 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" + + + + + Print the names of the files that would have been removed on stdout (performs a dry run). + + + + -- cgit v1.2.3