International
The Morning Dev

Only the news worth knowing

‹
 

News

Hubert 'depesz' Lubaczewski: Missed in PostgreSQL 19 : Toggle logical decoding dynamically based on logical slot presence.

Planet PostgreSQL ·

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

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…

Timeline

  1. Patch committed: toggle logical decoding dynamically based on logical slot presence

  2. Planet PostgreSQL

    Hubert 'depesz' Lubaczewski: Missed in PostgreSQL 19 : Toggle logical decoding dynamically based on logical slot presence.

How do you feel about this?

0 Comments