postgresql_16:7.3.2.4 Notes
PostgreSQL 16 > Reference > PostgreSQL Server Applications > pg_archivecleanup > Notes
pg_archivecleanup is designed to work with PostgreSQL 8.0 and later when used as a standalone utility, or with PostgreSQL 9.0 and later when used as an archive cleanup command.
pg_archivecleanup is written in C and has an easy-to-modify source code, with specifically designated sections to modify for your own needs