I am setting up a PostgreSQL (9.3) standby server in Streaming replication.
I configured the recovery.conf file and everything working well a part of
the archive_cleanup_command.
The WAL files shipped from the master to the temporary folder with the
archive_command are correctly saved, but are never deleted from the slave
server.
archive_cleanup_command = 'pg_archivecleanup /mnt/db1/incoming %r'
What I'm missing?
thanks
Domenico