Postgres WeeklySource
Postgres Weekly

Postgres Weekly

Digest · November 26
Architectural blueprint of PostgreSQL 19 query execution plans and table defragmentation
ArticleDataDevelopmentPostgreSQLOptimization

PostgreSQL 19 After Delays and Rollbacks: REPACK (CONCURRENTLY) and Official Planner Hints with pg_stash_advice

For the first time in a decade, PostgreSQL 19 missed its autumn schedule and lost five major features during beta due to a flood of AI-discovered bugs. Still, its two headline production features made it through.

Here is how built-in REPACK (CONCURRENTLY) shrinks bloated tables with zero downtime, where MVCC and limits trip it up, how pg_stash_advice cut a query from 405 ms to ~10 ms by query_id, and why hard planner hints should remain a last resort.

👍 39
Postgres WeeklyWhy PostgreSQL 19 shipped late — Databricks BlogWhat's left in Postgres 19 — Percona CommunitySqueezing tables with Postgres 19 — EDB Blog+2
November 26
Product still life with a Mac laptop, Docker container, and portable Postgres ecosystem modules
Thematic roundup4 sectionsDataDevelopmentPostgreSQLOpen Source

PostgreSQL 19 in Your Dev Environment: Postgres.app 3.0, PGlite 0.6 in WASM, the Docker latest Trap, and Go Extensions

PostgreSQL 19.0 GA quickly pulled local dev tools forward, bringing a few sneaky surprises due to PGDATA incompatibility between major versions.

We cover four ecosystem updates: Postgres.app 3.0 without background helper processes and with externalized extensions, browser-ready PGlite 0.6 on WebAssembly, Docker's postgres:latest switch to v19, and experimental gopgext for writing Go extensions with TinyGo.

👍 59
Postgres WeeklyPostgres.app 3.0 Release NotesPGlite Docs: Upgrading between minor versions
November 26
Physical diorama of a storage vault with an armored backup cabinet and PostgreSQL protective barriers
Thematic roundup5 sectionsDataSafetyPostgreSQLDevOps

PostgreSQL Production Updates: 14 Security Patches in PgJDBC, wal-send in WAL-G, pg_parquet, pg_textsearch, and PGSync 8.0

PostgreSQL 19.0 triggered a wave of updates across production tooling. PgJDBC 42.7.15 closes 14 security advisories including SQL injections and protocol flaws, making it an urgent upgrade for Java teams.

Meanwhile, WAL-G 3.0.10 adds wal-send to stream WAL directly from S3 to replicas, pg_parquet 0.6 and pg_textsearch 1.6 add PostgreSQL 19 support, and PGSync 8.0 fixes child-row sync bugs while adding a terminal monitor.

👍 8
Postgres WeeklyPgJDBC 42.7.15 Release Notes
November 26
News · November 261 news item

Npgsql 11.0 Released: A Major Update to the .NET Driver for PostgreSQL

The Npgsql team shipped version 11.0 of the core .NET driver for PostgreSQL. DependencyInjection merged into the main Npgsql package, multiplexing, legacy Large Object APIs, and .NET 8/9 support were removed, and pool metrics switched to Application Name.

Here are the main breaking changes to watch before upgrading.

Conceptual cinematic scene of a scheduled database shutdown with a timer and VACUUM indicator
Thematic roundup2 sectionsDataPracticePostgreSQLOptimization

PostgreSQL Operations Traps: Common Mistakes at Scale and Why Shutdown Takes Longer Than Startup

Habits that feel harmless on local PostgreSQL hurt badly in production: connection storms, lingering idle-in-transaction sessions, massive DELETEs, and forgotten invalid indexes.

We also break down why even a routine pg_ctl stop can drag on for minutes due to the final checkpoint—and how one command speeds up your restarts.

👍 5
Postgres WeeklyScott Mead — The Postgres Mistakes We All Still Make (Slides)Scott Mead — SQL Demos Repository (pgcraftsman/talks)Cybertec — How to Deal with Slow Postgres Shutdowns (Laurenz Albe)+1
November 26