pgsql: Implement dry-run mode for pg_archivecleanup

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Implement dry-run mode for pg_archivecleanup
Date: 2012-02-01 17:23:37
Message-ID: E1RsduD-0007Pt-RU@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2012-02-01 18:14:19 pgsql: Try to be more consistent about accepting denormalized float8 nu
Previous Message Magnus Hagander 2012-02-01 15:52:31 pgsql: Properly free the sslcompression field in PGconn