News
Hubert 'depesz' Lubaczewski: Missed in PostgreSQL 19 : Toggle logical decoding dynamically based on logical slot presence.
The Brief
- On 2025-12-23, Masahiko Sawada committed a patch to PostgreSQL that toggles logical decoding dynamically based on logical slot presence.
- Previously, logical decoding required wal_level to be set to 'logical' at server start.
- The change targets the overhead users incurred from logical-level WAL settings when logical decoding was not in use.
Why it matters
Once PostgreSQL 19 ships with this change, servers without logical replication slots may no longer need wal_level set to 'logical' at startup, which can avoid its overhead.
Who’s affected
- PostgreSQL 19 users
- Teams running logical replication or logical decoding
- PostgreSQL 19
- #postgresql
- #logical-decoding
- #wal
- #replication
- #database
On 23rd of December 2025, Masahiko Sawada committed patch: Toggle logical decoding dynamically based on logical slot presence. Previously logical decoding required wal_level to be set to 'logical' at server start. This meant that users had to incur the overhead of logical-level…