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

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search archives
  Advanced Search

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: Sun, 11 Dec 2011 15:52:03 +0100
  • Message-id: <4EE4C393.4060302@2ndQuadrant.it> <text/plain>

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(dot)bartolini(at)2ndQuadrant(dot)it | www.2ndQuadrant.it


Attachment: add-dry-run-option-pgarchivecleanup.patch
Description: Text document



Home | Main Index | Thread Index

Privacy Policy | About PostgreSQL
Copyright © 1996 – 2012 PostgreSQL Global Development Group