Planet PostgreSQL·· 1d ago
PostgreSQL 19 Toggles Logical Decoding Based on Logical Slot Presence
Hubert 'depesz' Lubaczewski: Missed in PostgreSQL 19 : Toggle logical decoding dynamically based on logical slot presence.
Brief · Based on the source excerpt
PostgreSQL 19 toggles logical decoding based on logical slot presence after a patch committed by Masahiko Sawada on December 23, 2025. Previously, wal_level had to be set to logical at startup, incurring logical WAL overhead even when no logical slots were in use.
Why It Matters
Instances that use logical replication only intermittently no longer need to incur logical WAL overhead continuously just to keep logical decoding available.
Source: Planet PostgreSQL· postgr.es
PG Radar summarizes verified changes and impact. Read the original post for full technical details and code samples.