Skip to content

Core Kernel Evolution Updates

Core Tracks

CommitFest major patch landings and PG 17/18/19 core storage, planner, and runtime breakthroughs.

7 curatedLast 30 days 7 itemsTracked total 35 items

updated

Chronicle

Key developments

Featured Core Kernel Evolution

  1. Planet PostgreSQLReleases

    PostgreSQL 19 Adds INSERT … ON CONFLICT DO SELECT Support

    PostgreSQL 19 adds INSERT ... ON CONFLICT DO SELECT to return existing rows on conflict. Dean Rasheed committed the patch on February 12, 2026. The syntax requires RETURNING and optionally accepts FOR UPDATE or FOR SHARE.

    Why It MattersWhen a single statement needs to attempt an insert and read the existing row on conflict, DO SELECT works as long as the statement includes a RETURNING clause.

  2. select * from depesz;Guides & Cases

    Testing PostgreSQL 19’s Slot-Driven Logical Decoding

    Tests show PostgreSQL 19 enables logical decoding without a restart when the first logical slot is created with wal_level=replica. The checkpointer reverts to replica asynchronously after the last slot is dropped or invalidated. effective_wal_level shows the current level.

    Why It MattersEnabling logical decoding for on demand CDC no longer requires a restart, but leftover valid logical slots can keep the extra WAL overhead in place.

  3. Planet PostgreSQLPerspectives

    What PostgreSQL 19 Changes for Existing SQL

    Dimitri Fontaine compares real queries on PostgreSQL 19.0 and 18.6 with the final release notes, covering 11 changes affecting existing SQL, about 20 new features, and an 8-step upgrade checklist. The article highlights planner rewrites that now use NOT NULL constraints.

    Why It MattersUsing real queries on PostgreSQL 19.0 and 18.6, the article focuses on SQL compatibility changes and upgrade checks, especially planner rewrites based on NOT NULL constraints.

  4. Percona PostgreSQL BlogGuides & Cases

    How PostgreSQL 19’s WAIT FOR LSN Can Replace Synchronous Replication

    PostgreSQL 19’s WAIT FOR LSN lets apps wait after commit for a standby flush or replay, for durability on both servers or read-your-writes. A timeout leaves the outcome unknown. Percona’s author recommends waiting for 19.1 before production use because 19.0 lacks a critical fix.

    Why It MattersWaiting on demand keeps standby outages from stalling primary commits, but standby connection pools need capacity for sessions held open while they wait.

  5. Planet PostgreSQLGuides & Cases

    PostgreSQL 19 Developer Guide: Returning Existing Rows with INSERT ON CONFLICT DO SELECT

    PostgreSQL 19’s INSERT … ON CONFLICT DO SELECT returns the existing row on a unique key conflict. A registration example shows why DO NOTHING RETURNING yields no row on conflict and why DO UPDATE returns one only by rewriting it.

    Why It MattersFor get or create operations keyed by a unique value, returning the existing row on conflict avoids both an extra database round trip and a rewrite just to retrieve the row.

  6. EDB PostgreSQL BlogReleases

    How REPACK (CONCURRENTLY) Entered PostgreSQL 19 Core

    Álvaro Herrera, who was involved in bringing pg_squeeze functionality into core PostgreSQL, recounts the backstory of REPACK (CONCURRENTLY), which shipped with the latest release.

    Why It MattersÁlvaro Herrera recounts how pg_squeeze functionality led to REPACK (CONCURRENTLY) entering PostgreSQL core, providing context on the feature’s evolution.

  7. PostgreSQL Official NewsReleases

    PostgreSQL 19 Released with Concurrent REPACK and Plan Advice

    The PostgreSQL Global Development Group released PostgreSQL 19 with REPACK (CONCURRENTLY), the pg_plan_advice extension, sequence-value logical replication, and WAIT FOR LSN.

    Why It MattersPostgreSQL 19 brings table-bloat management, plan stability, and logical-replication improvements into core, while upgrades should account for authentication and JIT default changes.