Pg-archivecleanup Must Specify Oldest Kept Wal File

This prints which files would be removed, without actually deleting them.

: Instead of a simple -n (dry run), this mode would display the oldest file, the newest file, and the calculated cutoff, asking the user for confirmation before proceeding. Current Workarounds pg-archivecleanup must specify oldest kept wal file

The error appears as:

pg_archivecleanup is a lightweight utility designed to remove no-longer-needed WAL files from a WAL archive. It is most commonly used: This prints which files would be removed, without

This error typically does not happen when an administrator manually types a command into the terminal (as they would immediately see the missing argument). It most frequently occurs in automated environments and misconfigured scripts. the newest file

Example output: