Skip to content

First-party coverage comes from top-tier sources. Planet PostgreSQL blog coverage is classified as community reporting.

  1. select * from depesz;Guides & Cases

    How PostgreSQL 19 Handles INSERT … ON CONFLICT DO SELECT

    PostgreSQL 19’s INSERT … ON CONFLICT DO SELECT inserts new rows or returns existing ones on conflict without a no-op update. It requires RETURNING and supports optional row locking. When locking is requested, conflicting rows filtered out by WHERE are still locked.

    Why It MattersWhen replacing no-op updates in get-or-create code, check whether the old primary key is null to identify inserts, since the command tag counts returned rows.

  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. CYBERTEC PostgreSQL BlogGuides & Cases

    How to Deal with Slow Shutdown in PostgreSQL

    Laurenz Albe explains why PostgreSQL shutdown can be slow: a clean shutdown runs a checkpoint that flushes dirty shared buffers to disk, so larger shared_buffers and more dirty pages mean longer shutdown.

    Why It MattersFor PostgreSQL instances needing fast restarts, an explicit CHECKPOINT before shutdown shortens downtime; with large UNLOGGED tables you must use FLUSH_UNLOGGED (v19+) or the FILE_COPY database trick, or shutdown stays slow.

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

    Brief · Based on the source excerpt

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

  5. CYBERTEC PostgreSQL BlogGuides & Cases

    How to Stabilize Query Plans in PostgreSQL 19 with pg_stash_advice

    PostgreSQL 19 uses pg_plan_advice and pg_stash_advice to constrain join order without rewriting SQL. In the example, a row estimate of 20 versus 990 led to a 405.646 ms query. Stored advice survives restarts but not pg_upgrade. cybertec-postgresql.com/en/pg…

    Why It MattersConstraining only the join order can guard against a bad choice caused by underestimated row counts while leaving the planner free to adapt join methods and scan strategies.

  6. PostgreSQL Official NewsReleases

    PostgreSQL 19 Released with Concurrent REPACK and Plan Advice

    PG 19 REPACK (CONCURRENTLY) permits concurrent reads and writes for most of the operation. The final table and index file swap still requires ACCESS EXCLUSIVE.

    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.

  7. Tomas Vondra Postgres BlogPerspectives

    Tomas Vondra: AI Did Not Drive Most PostgreSQL 19 Reverts

    Tomas Vondra reviews 12 PostgreSQL 19 reverts and finds only 4 plausibly linked to AI, while most resulted from human review, incomplete designs, build failures, or late-cycle risk control.

    Why It MattersThe post reviews 12 PostgreSQL 19 reverts, separates AI involvement from human review, and links release pressure to the growing workload of security reports.

  8. select * from depesz;Releases

    PostgreSQL 19 SQL/PGQ Patch Rolled Back Amid Syntax Questions

    The SQL/PGQ implementation proposed for PostgreSQL 19 has been rolled back. It would have added GRAPH_TABLE, property-graph DDL, new catalogs and information-schema views, psql \dG, and pg_get_propgraphdef(), while the author questions its practical advantages over ordinary joins.

    Why It MattersThe post documents SQL/PGQ’s proposed design and rollback while presenting a practitioner’s concrete questions about its syntax benefits and learning cost.

  9. select * from depesz;Releases

    PostgreSQL 20 Adds Backend-Level Lock Statistics

    Michael Paquier committed a patch on June 30, 2026 adding per-backend lock statistics to PostgreSQL 20, covering lock wait counts, wait times, and fastpath_exceeded counts.

    Why It MattersPer-backend lock statistics break down aggregate waits by process and can be joined with pg_stat_activity to diagnose contention in running sessions.

  10. Tomas Vondra Postgres BlogPerspectives

    Tomas Vondra Reexamines PostgreSQL random_page_cost

    Tomas Vondra argues that random_page_cost also compensates for PostgreSQL cost-model gaps around memory, cache locality, and concurrent resource contention.

    Test conditionsThe post reframes random_page_cost as a proxy for memory, cache locality, and contention effects, and recommends tuning it through workload monitoring rather than storage benchmarks alone.

  11. Supabase Database ChangelogReleases

    Supabase pg_graphql 1.6.0 Disables GraphQL Introspection by Default

    Supabase says pg_graphql 1.6.0 will disable GraphQL introspection by default in new projects starting 2026-06-29. Existing projects are affected only after upgrading to pg_graphql 1.6.0+; tools that rely on introspection must explicitly opt in, while regular data queries remain unaffected.

    Why It MattersDisabling introspection by default reduces API enumeration risk without affecting regular data operations, while tools that rely on schema discovery need introspection enabled on each schema they use.