Re: Allow pg_archivecleanup to remove backup history files

From: torikoshia <torikoshia(at)oss(dot)nttdata(dot)com>
To: Michael Paquier <michael(at)paquier(dot)xyz>
Cc: Fujii Masao <masao(dot)fujii(at)oss(dot)nttdata(dot)com>, Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com>, Bharath Rupireddy <bharath(dot)rupireddyforpostgres(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Allow pg_archivecleanup to remove backup history files
Date: 2023-06-13 15:49:39
Message-ID: 34b661c3b6ec651bd13472b47ddb5913@oss.nttdata.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2023-06-12 16:33, Michael Paquier wrote:
> On Fri, Jun 09, 2023 at 12:32:15AM +0900, Fujii Masao wrote:
Thanks for reviewing!

>> printf(_(" -n, --dry-run dry run, show the names of
>> the files that would be removed\n"));
>> + printf(_(" -b, --clean-backup-history clean up files including
>> backup history files\n"));
>>
>> Shouldn't -b option be placed in alphabetical order?
>
> +1.

Modified the place.

--
Regards,

--
Atsushi Torikoshi
NTT DATA CORPORATION

Attachment Content-Type Size
v6-0001-Introduce-pg_archivecleanup-into-getopt_long.patch text/x-diff 3.9 KB
v6-0002-Allow-pg_archivecleanup-to-remove-backup-history-.patch text/x-diff 10.8 KB
v6-0003-Refactored-to-reduce-the-nesting-level.patch text/x-diff 5.9 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tristan Partin 2023-06-13 15:51:48 Re: Use COPY for populating all pgbench tables
Previous Message Robert Haas 2023-06-13 15:24:27 Re: pgsql: Fix search_path to a safe value during maintenance operations.