Dry Run mode for pg_archivecleanup - Mailing list pgsql-hackers

From Gabriele Bartolini
Subject Dry Run mode for pg_archivecleanup
Date
Msg-id 4E08F742.5010101@2ndQuadrant.it
Whole thread Raw
Responses 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.

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] DROP Reworks Part.0 - 'missing_ok' support of get_object_address
Next
From: Peter Eisentraut
Date:
Subject: Re: pg_upgrade defaulting to port 25432