Type: integer
Défaut: -1 (-1)
Min: -1 (-1)
Max: 2147483647 (2147483647MB)
Unité: MB
Contexte: sighup
Redémarrer: false
Depuis: 13

Specify the maximum size of WAL files that replication slots are allowed to retain in the pg_wal directory at checkpoint time. If max_slot_wal_keep_size is -1 (the default), replication slots retain unlimited amount of WAL files. If restart_lsn of a replication slot gets behind more than that megabytes from the current LSN, the standby using the slot may no longer be able to continue replication due to removal of required WAL files. You can see the WAL availability of replication slots in pg_replication_slots.