archive_cleanup_command

A configuration parameter 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.

Default value

The default value for archive_cleanup_command is: '' (empty string).

Usage

archive_cleanup_command is executed at every restartpoint.

Change history

Categories

GUC configuration item, Replication, WAL

See also

pg_archivecleanup