wal_keep_size
A configuration parameter determining the minimum amount of WAL to retain
wal_keep_size
is a configuration parameter determining the minimum amount of WAL (expressed in MB) to retain in the pg_wal
directory.
wal_keep_size
was added in PostgreSQL 13, replacing wal_keep_segments
for consistency with the newly-added max_slot_wal_keep_size
parameter.
Default value
The default value for wal_keep_size
is: 0
.
Change history
- PostgreSQL 13
- added (commit f5dff459)
References
- PostgreSQL documentation: wal_keep_size