recovery.conf and archive_cleanup_command - Mailing list pgsql-novice

From Rita
Subject recovery.conf and archive_cleanup_command
Date
Msg-id CAOF-KfhGM28vyE+HShrfnTNx8PYBeyTkiNGDA_xPF1DDS_PEHg@mail.gmail.com
Whole thread Raw
Responses Re: recovery.conf and archive_cleanup_command  (Laurenz Albe <laurenz.albe@cybertec.at>)
List pgsql-novice
I have primary and standby replication setup.

On my primary the archive directory is rather large (30GB) and growing. On my standby I have recovery.conf which has 
archive_cleanup_command = 'pg_archivecleanup -d /var/lib/pgsql/11/data/archive %r'

I was under the impression this line would remove data from my primary AND standby. Is that not the case?

--
--- Get your facts first, then you can distort them as you please.--

pgsql-novice by date:

Previous
From: Gaetan HADO
Date:
Subject: Debian previous pgbackrest version
Next
From: Laurenz Albe
Date:
Subject: Re: recovery.conf and archive_cleanup_command