Supabase CLI config
To illustrate, assume max_wal_size is 1GB and max_slot_wal_keep_size is 5GB. As long as a slot’s WAL file requirement is within 1GB, it’s wal_status remains reserved.
PostgreSQL: Documentation: 17: 19.6. Replication
postgres-config update --config max_slot_wal_keep_size=2GB.
Documentation: 17: 26.2. Log-Shipping Standby Servers
Rename configuration parameter wal_keep_segments to wal_keep_size (Fujii Masao) ... Allow WAL storage for replication slots to be limited by max_slot_wal_keep_size (Kyotaro Horiguchi).
