> I looked at pg_archivecleanup but it wants me to pick which is the last
> WAL archive I want to keep... how do I decide?
You put it in recovery.conf (below should actually be all one line)
archive_cleanup_command =
'/usr/local/pgsql-90/bin/pg_archivecleanup /var/pgsql/wal_archive %r'
--
-- Josh Berkus
PostgreSQL Experts Inc.
http://www.pgexperts.com