Обсуждение: Dry Run mode for pg_archivecleanup

Поиск
Список
Период
Сортировка

Dry Run mode for pg_archivecleanup

От
Gabriele Bartolini
Дата:
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


Вложения

Re: Dry Run mode for pg_archivecleanup

От
Fujii Masao
Дата:
On Tue, Jun 28, 2011 at 6:33 AM, Gabriele Bartolini
<gabriele.bartolini@2ndquadrant.it> wrote:
>   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.

Please add the patch into the next CommitFest.
https://commitfest.postgresql.org/action/commitfest_view?id=11

Regards,

--
Fujii Masao
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center