Re: Dry-run mode for pg_archivecleanup

Magnus Hagander <magnus@hagander.net>

From: Magnus Hagander <magnus@hagander.net>
To: Gabriele Bartolini <gabriele.bartolini@2ndquadrant.it>
Cc: PgHacker <pgsql-hackers@postgresql.org>
Date: 2011-12-11T15:24:06Z
Lists: pgsql-hackers

Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. Implement dry-run mode for pg_archivecleanup

On Sun, Dec 11, 2011 at 15:52, Gabriele Bartolini
<gabriele.bartolini@2ndquadrant.it> wrote:
> 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. I submit it to the CommitFest.

Sounds like a useful feature. But you added it to the wrong commitfest
;) I've moved it to the proper one (2012-01).


-- 
 Magnus Hagander
 Me: http://www.hagander.net/
 Work: http://www.redpill-linpro.com/