Evan Rempel wrote:
> Now to the question.
>
> Once the archive_command starts lying about its success, postgresql deletes
> a number of the xlog files that it has been told have been successfuly archived.
> Why does it do this? Can I control it? Can I turn it off?
Because they're no longer needed.
If you want to keep those files, make the archive_command not lie.
--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support