Dry-run mode for pg_archivecleanup - Mailing list pgsql-hackers

From Gabriele Bartolini
Subject Dry-run mode for pg_archivecleanup
Date
Msg-id 4EE4C393.4060302@2ndQuadrant.it
Whole thread Raw
Responses Re: Dry-run mode for pg_archivecleanup
Re: Dry-run mode for pg_archivecleanup
List 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. I submit it to the CommitFest.

Thanks,
Gabriele

--
   Gabriele Bartolini - 2ndQuadrant Italia
   PostgreSQL Training, Services and Support
   gabriele.bartolini@2ndQuadrant.it | www.2ndQuadrant.it



Attachment

pgsql-hackers by date:

Previous
From: Kohei KaiGai
Date:
Subject: Re: [v9.2] Fix Leaky View Problem
Next
From: Magnus Hagander
Date:
Subject: Re: Dry-run mode for pg_archivecleanup