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.
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.
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.
Á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.
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.
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.
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.
Crunchy Data revisits its earlier posts on loading, storage, indexes and partitioning to see what still holds for PostgreSQL 19.
Upgrade noteAsync reads improve heap scans, but index choice should still depend on selectivity, so retest BRIN against parallel scans on your own storage after upgrading.
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.
Postgres 19 plans to change the default TOAST compression from pglz to LZ4, which has been selectable since Postgres 14 via default_toast_compression = 'lz4' or column-level COMPRESSION lz4.
Why It MattersIn an informal insert test, LZ4 compressed faster, while space savings depended on the data and could still favor pglz.
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.
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.
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.