Re: Archive directory - Mailing list pgsql-admin

From Scott Ribe
Subject Re: Archive directory
Date
Msg-id 5AAB0FED-45AA-45F6-AFB5-A65A36275492@elevated-dev.com
Whole thread Raw
In response to Re: Archive directory  (Yambu <hyambu@gmail.com>)
Responses Re: Archive directory  (Yambu <hyambu@gmail.com>)
Re: Archive directory  (Paul Förster <paul.foerster@gmail.com>)
Re: Archive directory  (MichaelDBA <MichaelDBA@sqlexec.com>)
List pgsql-admin
> On Dec 7, 2020, at 6:47 AM, Yambu <hyambu@gmail.com> wrote:
>
> Does the command ,archive_cleanup_command, delete the files from the master server? i understand this config is done
onthe 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
copyto replica, then postgres has no way to know when it is safe to delete WAL files. 




pgsql-admin by date:

Previous
From: Yambu
Date:
Subject: Re: Archive directory
Next
From: Yambu
Date:
Subject: Re: Archive directory