Ok, whats happens in the case when you have 2 slave servers?
On Mon, Dec 7, 2020 at 3:53 PM Scott Ribe <scott_ribe@xxxxxxxxxxxxxxxx> wrote:
> On Dec 7, 2020, at 6:47 AM, Yambu <hyambu@xxxxxxxxx> wrote:
>
> Does the command ,archive_cleanup_command, delete the files from the master server? i understand this config is done on the slave server
The point of the archive command is to copy to the replica. If you're archiving on master, then using some script to copy to replica, then postgres has no way to know when it is safe to delete WAL files.