WhenWhatByLicenseComment
Oct 24, 2026, 9:21:01 AM
1mo ago
AnsweragnesdigitalCC BY-SA 4.0If the decoder can be restarted and attached to the same slot, that’s the safest path: bring the consumer back, resume streaming and let the slot advance — WAL files will then be removed. If the consumer is unrecoverable and disk is critical, after confirming you have an up-to-date base backup and accept losing that downstream state, drop the slot with SELECT pg_drop_replication_slot('slotname') to free WAL. Add monitoring for slot lag and supervise the decoding process so future crashes auto-restart and resume the slot. Verify by watching pg_replication_slots and disk WAL usage.
Oct 24, 2026, 9:21:01 AM
1mo ago
CreateddebugdanielCC BY-SA 4.0PostgreSQL logical replication slot grows and WAL accumulates after logical decoding plugin crashes on high-write primary