Skip site navigation (1) Skip section navigation (2)

Dry Run mode for pg_archivecleanup

From: Gabriele Bartolini <gabriele(dot)bartolini(at)2ndQuadrant(dot)it>
To: PgHacker <pgsql-hackers(at)postgresql(dot)org>
Subject: Dry Run mode for pg_archivecleanup
Date: 2011-06-27 21:33:54
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
Hi guys,

    I have added the '-n' option to pg_archivecleanup which performs a 
dry-run and outputs the names of the files to be removed to stdout 
(making possible to pass the list via pipe to another process). Please 
find attached the small patch.


  Gabriele Bartolini - 2ndQuadrant Italia
  PostgreSQL Training, Services and Support
  gabriele(dot)bartolini(at)2ndQuadrant(dot)it |

Attachment: 0001-Add-dryrun-option-to-pg_archivecleanup.patch
Description: text/plain (0 bytes)


pgsql-hackers by date

Next:From: Peter EisentrautDate: 2011-06-27 21:50:03
Subject: Re: pg_upgrade defaulting to port 25432
Previous:From: Kohei KaiGaiDate: 2011-06-27 20:40:06
Subject: Re: [v9.2] DROP Reworks Part.0 - 'missing_ok' support of get_object_address

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group