archive_cleanup_command

A GUC which specifies a shell command to clean up redundant archived WAL files

archive_cleanup_command is a configuration parameter which specifies a shell command to clean up redundant archived WAL files on a standby.

archive_cleanup_command was added in PostgreSQL 9.0.

Usage

archive_cleanup_command is executed at every restartpoint.

Change history

Categories

GUC configuration item, Replication, WAL

See also

pg_archivecleanup