Postgres Weekly
Plus ten years of logical replication, what backup compression levels cost, and can a 4B model out-plan Postgres?

#​666 — September 23, 2026

Web Version

Together with  Tiger Data logo

Postgres Weekly

Looking Forward to Postgres 19: Epilogue — Postgres 19 is having an eventful beta, with several headline features pulled and no release date. Shaun digs into why via the pgsql-hackers mailing list, and suggests AI-assisted review is surfacing bugs faster than committers can handle them. For the good news, Elizabeth Garrett Christensen lists what's still shipping, like parallel autovacuum and ON CONFLICT DO SELECT.

Shaun Thomas (pgEdge)

💡 Beta 4 is expected tomorrow (September 24). This draft release announcement lists the reverts, and a release candidate should follow in early October.

Analytics Shouldn't Mean a Second Database — A dashboard query slows as data grows, and the fix is usually a warehouse plus a pipeline: sync jobs, lag, stale copies. TimescaleDB extends the Postgres you already run, so analytics stay fast on live data. Get $1000 credit to start

Tiger Data (creators of TimescaleDB) sponsor

In Brief

⚙️ Operations & Performance

pgBackRest Compression: How Much CPU is a Smaller Backup Worth? — A benchmark of pgBackRest's compression algorithms and levels to find where extra CPU stops paying off in smaller backups. Spoiler: "Zstandard at a low level is the sweet spot".

Agustín Gallego (Percona)

Ten Years of Postgres Logical Replication — A tour of what each Postgres release (from 10 to 19) added to logical replication, shown through building a multi-server write setup using only core features.

Dimitri Fontaine

When Deleting Old Rows Costs More Than the Work — Some lessons for anyone with big tables where bulk deletes can cost more than the writes. DBOS's engineers share some fixes, like replacing cascading deletes with batched deletes and running manual vacuums.

Kraft and Li (DBOS)

📄 Where Postgres Stores Row Locks – Every row lock ends up as a write to the heap page, as revealed by pageinspect. Radim Marek

🛠️ Tools and Releases

pgcli 4.7: The Friendlier psql Now Works in Scripts Too — A popular alternative to psql for interactive work, with context-aware autocompletion, syntax highlighting, and named queries. v4.7 makes it more useful for scripting, with psql-style -c, -f and -t flags, plus -y to skip destructive command prompts.

the dbcli project

pgwrh 1.0 Alpha: Read Scaling with Sharded Replicas — An experimental extension that shards a partitioned table across read replicas, with each holding only part of the data and fetching the rest from peers. Not for production!

Michał Kłeczek

pgColumnar 1.0 Alpha 4: A Columnar Table Access Method — A columnar storage option for Postgres tables. This alpha can lay tables out along a Hilbert curve, so range filters read up to 2x fewer row groups than with Z-order.

Joshua D. Drake (Command Prompt)

  • TimescaleDB 2.30 – Tiger Data's time-series extension makes ORDER BY ... LIMIT queries fast even on hypertables with huge numbers of chunks.

  • PostgreSQL Anonymizer 3.2 – Dalibo's data masking extension adds faster pseudonymization functions and includes fixes for 3 critical vulnerabilities.

  • pgAdmin 4 v9.18 – The popular Postgres management tool.

📰 Classifieds

🚀 Triple your Postgres productivity. pgEdge AI DBA Workbench: AI monitoring & diagnostics for ANY Postgres v14+. Open source.


🎟️ Join us at Supabase Select on October 2. Learn from the industry’s best builders and meet people building developer tools. Apply to attend with 25% off: SUPAWEEKLY.

And Finally…

🤖 Teaching a 4B Model to Write 81% Faster Query Plans — As a sabbatical project at the Recurse Center, a developer used reinforcement learning to train a small model to write pg_hint_plan hints for join-heavy benchmark queries (and, on its best runs, it beat Postgres's own plans!). An intriguing read.

Rohan Bansal

Issue 665 #666