I feel you have more control with a simple bash (or script of choice) one liner and cron. I don’t like automated deletes of anything unless I’m in control. $0.02
From: Nikhil Ingale <niks.bgm@gmail.com> Sent: Thursday, June 29, 2023 12:12 AM To: pgsql-admin@lists.postgresql.org Subject: [EXTERNAL] Deleting the pg logs older than 30 days or certain time
Hi All,
Can postgresql internal log rotation configuration mechanism delete the log files older than a specific period of time?
Is there a way to configure this as part of postgresql?