The story’s score and claims

Comments on No. 13 of 140 · depesz (PostgreSQL) · edition of Thursday 3 December 2026

Missed in PostgreSQL 19 : Toggle logical decoding dynamically based on logical slot presence.

Summary

PostgreSQL 19 will no longer require wal_level=logical at server start for logical decoding. A commit by Masahiko Sawada lets the server raise its effective WAL level when the first logical slot is created and lower it after the last is dropped, with the checkpointer handling the drop asynchronously. A read-only effective_wal_level setting shows the current state. depesz's test on one server saw the level fall back in under a second; the commit's own description is not independently verified. Forgotten slots keep the level at logical.

Comments

Ranked by a public rubric, not by votes: what a comment adds counts, not who wrote it. How comments are ranked · Comment rules