> Hi Gilberto,
>
> Thanks for your answer.
>
> Do you know how to configure the pg_archivecleanup just in the event the
> primary database goes down?
Look pg_archivecleanup is configured in the slave in version major pg 9.4
It's not your case.
Saludos,
Gilberto Castillo
ETECSA, La Habana, Cuba