Skip to content

PostgreSQL Core Updates

Core & Platforms

PGDG official releases, security advisories, CommitFest merged features, and core governance updates.

16 curatedLast 30 days 16 itemsTracked total 86 items

updated

Featured PostgreSQL Core

  1. Microsoft Azure Database for PostgreSQL BlogBenchmarks

    PostgreSQL 19 GIN VACUUM Tested Beyond Shared Buffer Capacity

    PostgreSQL 19 adds streaming reads for GIN VACUUM cleanup. On Azure Database for PostgreSQL with 16 GiB of shared_buffers, median cleanup speedups over 18.6 were 1.27x for a 21.30 GiB GIN index and 2.20x for a 26.62 GiB index. Smaller indexes finished in under a second.

    Why It MattersWhen assessing PostgreSQL 19’s GIN cleanup gains, whether the index fits in shared buffers is more informative than table row count alone.

  2. 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.

  3. Planet PostgreSQLGuides & Cases

    PostgreSQL 19 DBA Walkthrough, Part 2: Read Your Writes with WAIT FOR LSN

    A two-session psql walkthrough shows how PostgreSQL 19 uses WAIT FOR LSN to read your writes on an asynchronous standby. It captures the WAL insert LSN on the same primary connection after commit and also covers timeouts, monitoring waiters, and a stalled standby.

    Why It MattersWhen reads from an asynchronous standby must reflect a just committed write, the application can wait before reporting success without adding that wait to the primary’s synchronous commit path.

  4. 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.

  5. X · PostgreSQL 高赞热议Products & Tools

    Datadog Open-Sources PG Proxy for PostgreSQL

    Datadog open-sourced its PostgreSQL proxy, PG Proxy, which it says handles 4 trillion queries per month, 200M+ daily authentications, and 600K+ open client connections. Written in Go, it can run as a PgBouncer drop-in replacement or be embedded as a library.

    Why It MattersDatadog open-sources PG Proxy for workloads exceeding 4 trillion monthly queries, with PgBouncer-compatible deployment or Go library embedding.

  6. 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.

  7. 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.

  8. 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.

  9. Postgres.fmBenchmarks

    Postgres.fm Examines PGAIBench for Safe AI Changes to Production Postgres

    Postgres.fm examines PGAIBench v0.2, which tests 10 models across 19 scenarios on loaded two-node PostgreSQL 18.7 clusters. Models acting alone caused harm, while an offline replay of the AAA workflow blocked 12 of 13 harmful changes and approved 377 of 378 safe or unclassified changes.

    Why It MattersPGAIBench v0.2 combines real production-failure scenarios, loaded two-node clusters, and AAA controls to quantify the risks of letting AI modify production Postgres directly.

  10. Planet PostgreSQLGuides & Cases

    PostgreSQL 19 Plan Advice Tools for Transactional Outbox Workloads

    A lab using the transactional outbox pattern shows how changed data and stale statistics can lead PostgreSQL to choose an execution plan based on outdated information. It introduces PostgreSQL 19’s pg_plan_advice and pg_stash_advice, including generated advice for reproducing an index scan plan.

    Why It MattersThe lab shows how stale statistics can mislead PostgreSQL’s planner on transactional outbox workloads and introduces PostgreSQL 19 tools for reproducing and stashing plan advice.

  11. Databricks Blog (Postgres / Lakebase)Products & Tools

    Databricks Makes Lakebase Postgres Spark Streaming Sink Generally Available

    Databricks made the native Lakebase Postgres sink for Apache Spark Structured Streaming generally available, with built-in batching, connection pooling, retries, deduplication, and upserts.

    Why It MattersDatabricks makes the Lakebase Postgres sink generally available, removing custom batching, retry, and upsert infrastructure while reporting latency at sustained streaming scale.

  12. Planet PostgreSQLBenchmarks

    PGAIBench and AAA Benchmark AI Changes in Production Postgres

    Across 949 live PostgreSQL 18.7 runs, 10 models produced 13 harmful changes among 408 primary changes. Replaying them through AAA blocked 12 of 13 harmful changes while approving 377 of 378 safe or unclassified changes.

    Test conditionsThis benchmark quantifies the risks of AI changes in production Postgres and shows AAA’s ability to block harmful changes while allowing safe ones.

  13. 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.

  14. 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.

  15. Planet PostgreSQLGuides & Cases

    How PostgreSQL Continuously Tests Security Patches Before Disclosure

    Since June 2026, PostgreSQL has managed pending security patches in the private pgsql-security Git repository and continuously built and tested them across all supported branches in a private buildfarm. Each branch has an ordered patch list and can reference patches shared with other branches.

    Why It MattersThe workflow offers a practical way to move cross-platform builds and tests from release packaging day into routine development without disclosing security patches.

  16. Planet PostgreSQLBenchmarks

    The Hidden Costs of CREATE TEMP TABLE in Postgres 18: Catalog Bloat and LWLock:SInvalWrite

    In Postgres 18, a CTE achieved 23x the TPS of creating a temp table per transaction. With 5000 idle sessions, temp-table DDL reached 127 TPS and 249 TPS in two runs against a 500 TPS target.

    Test conditionsThe benchmarks quantify the throughput gap when creating a temp table per transaction and how far temp-table DDL falls short of its target with many idle sessions.