Re: Allow pg_archivecleanup to remove backup history files - Mailing list pgsql-hackers

From torikoshia
Subject Re: Allow pg_archivecleanup to remove backup history files
Date
Msg-id dea86e6f7224b41266b8a2bded766ca1@oss.nttdata.com
Whole thread Raw
In response to Re: Allow pg_archivecleanup to remove backup history files  (Michael Paquier <michael@paquier.xyz>)
Responses Re: Allow pg_archivecleanup to remove backup history files
List pgsql-hackers
On 2023-05-15 15:22, Michael Paquier wrote:
> On Mon, May 15, 2023 at 03:16:46PM +0900, torikoshia wrote:
>> On 2023-05-15 09:18, Michael Paquier wrote:
>>> How about plugging in some long options, and use something more
>>> explicit like --clean-backup-history?
>> 
>> Agreed.
> 
> If you begin to implement that, it seems to me that this should be
> shaped with a first separate patch that refactors the code to use
> getopt_long(), and a second patch for the proposed feature that builds
> on top of it.
Thanks for your advice, attached patches.

-- 
Regards,

--
Atsushi Torikoshi
NTT DATA CORPORATION
Attachment

pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: Adding SHOW CREATE TABLE
Next
From: Heikki Linnakangas
Date:
Subject: Re: ResourceOwner refactoring