Thread: Log zipping

Log zipping

From
Yambu
Date:
Hello

May i know which setting in postgresql.conf zips used log files?

regards

Re: Log zipping

From
hubert depesz lubaczewski
Date:
On Mon, Jul 19, 2021 at 02:39:08PM +0200, Yambu wrote:
> May i know which setting in postgresql.conf zips used log files?

There is no such setting.

You can use external tools to do it, for some cases you can use
archive_logs.sh
: https://github.com/omniti-labs/pgtreats/blob/master/tools/archive_logs.sh

Best regards,

depesz