#​632 — January 21, 2026

Web Version

Together with  Microsoft logo

Postgres Weekly

Unconventional Postgres Optimizations — Another fantastic post from Haki Benita. This time, he looks at some optimization techniques off the beaten track, including using constraint_exclusion to skip scans when queries contradict CHECK constraints, building smaller indexes by indexing lower-cardinality expressions (e.g. truncating timestamps to dates), and enforcing uniqueness with hash indexes via exclusion constraints.

Haki Benita

POSETTE 2026 — CFP Closes Feb. 1POSETTE: An Event for Postgres, a free & virtual developer event organized by the Postgres team at Microsoft, is happening June 16-18. New and experienced speakers are encouraged to submit! Don’t delay—the CFP closes Feb. 1. Get the details.

Microsoft sponsor

The Challenges of Soft Delete — To delete or not to delete, that is the question! If you want to ‘delete’ data in a table without actually losing it, a ‘soft’ delete using a boolean or date flag is a common solution, but this post considers some alternatives, like using a trigger to move a row to an archive table or capturing deleted rows from the WAL for external archival.

atlas9

IN BRIEF:

🎤 'How I Got Started with DBtune and Why We Chose Postgres' — Luigi Nardi, founder of DBtune and a Stanford researcher, joined Claire Giordano to talk about his developer and research journey, why DBtune chose database tuning and Postgres as their focus, and the concept of ‘level five’ autonomy for database management and tuning. There's a full transcript if you'd rather read than listen.

Talking Postgres Podcast

Scaling Vector Search to 1 Billion on PostgreSQL — 1 billion vectors, specifically. This is essentially a benchmark of VectorChord 1.0, an extension for high-scale vector similarity search (GitHub repo).

Junyu Chen (VectorChord)

▶  What's New in PostgreSQL 18 — Christophe Pettus, the CEO of PGX, gave a talk for the San Francisco Bay Area PostgreSQL Users Group recently wrapping up some of Postgres 18’s enhancements in just 30 minutes.

Christophe Pettus

📄 Postgres Serials Should be BIGINT (and How to Migrate) Elizabeth Christensen

📄 Understanding ALTER TABLE Behavior on Partitioned Tables Chao Li

📰 Classifieds

Speed up queries 3x with PostgreSQL 18. Learn AIO, Skip Scan & replication enhancements. Register!


🛠️ Auth0 for AI Agents provides a foundation for developers to build AI agents without compromising security or innovation. Start building.

RELEASES AND CODE:

  • SQL Shader (above) is an interesting experiment by Matias Gonzalez that renders the output of Postgres queries with x, y and value columns onto a shader-style canvas. More info here.

  • credcheck 4.4 – Extension that performs checks and validation of credentials during user creation and renaming, as well as password changes.

  • pgmoneta 0.20.0 – Postgres backup / restore tool, now with Grafana 12 support, improved S3 support, and better locking.

  • pgBackRest 2.58.0 – Another popular backup tool, now with HTTP support for S3, GCS, and Azure.

  • 📊 Postgres Explain Visualizer 2 1.20 – A Vue.js component for visualization of Postgres execution plans (above). Now with dark mode support.

  • SQLPage 0.42 – Rust-powered SQL-only data app builder that automatically builds a UI on top of your SQL queries.

  • pgschema 1.6.1 – Terraform-style, declarative schema migration for Postgres.

  • Rbatis v4.7.0 – High-performance Rust 'compile-time' ORM with dynamic SQL generation and async support.

  • 📊 pgmetrics v1.19.0 – Collect and report Postgres metrics for scripting, automation and troubleshooting.