#​637 — February 25, 2026

Web Version

Together with  pgEdge

Postgres Weekly

How Row Locks with Joins Can Produce Surprising Results — A non-null foreign key and a valid constraint should guarantee an inner join always returns a row.. right? This post covers a real edge case where nothing might be returned in such a scenario (due to an easily unanticipated concurrency and locking gotcha), explains why, and offers several solutions.

Haki Benita

Enterprise Grade Postgres for Agentic AI, High Availability and More — pgEdge delivers open-source, 100% Postgres infrastructure for Agentic AI and enterprise apps that demand high availability, reliability, and data sovereignty. We make it easy to build, deploy and manage enterprise‑grade Postgres apps at scale.

pgEdge sponsor

IN BRIEF:

Harnessing Postgres Race Conditions — An explanation of how synchronization barriers let you manufacture race conditions on demand in testing, and how to verify your locks are actually doing what you think they are.

Mikael Lirbank

Why the C Collation is the Best Choice for Your Cluster — How to avoid the index corruption trap that can hit after OS upgrades by using the simple C collation, rather than a natural language one. But then what if you want natural language collation for day to day use? Laurenz shows how to get the best of both worlds.

Laurenz Albe

▶  Why It's Fun to Hack on Postgres Performance — Microsoft’s Tomas Vondra is a long-time Postgres contributor known for performance work. In this 80 minute interview, he explains why perf hacking is hard but fun, walks through a hash join optimization he contributed, and shares why Postgres’ “community vibe” keeps him coming back for more.

Talking Postgres Podcast podcast

📄 9 Postgres Features I Wish I Knew Sooner – Including EXCLUDE and CHECK constraints, DISTINCT ON, FILTER, and recursive CTEs. Thiery Michel

📄 What Does INSERT 0 1 Actually Tell You? – A short and sweet look at something you’ve seen before but perhaps never thought about. Lætitia Avrot

📄 Coming to Postgres 19: %i Prompt Escape to Indicate Hot Standby Status%i in your psql prompt will let you see if you’re connected to the primary or a standby at a glance. Hubert Lubaczewski

📄 Making Large Postgres Migrations Practical: 1TB in Two Hours with PeerDB Amogh Bharadwaj (ClickHouse)

RELEASES AND CODE:

sabiql: A Driver-Less TUI for Working with Postgres — A Rust-based terminal UI for Postgres that wraps psql, so no drivers are involved. Unlike psql, however, you get ER diagram generation, inline cell editing, a quick way to copy values to the clipboard, fuzzy search, and more.

riii111

pg_ash: Active Session History for Postgres — A pure SQL and PL/pgSQL approach (so it’ll even work on managed platforms). It samples pg_stat_activity every second and stores the results in a compact format you can query with SQL later to dig into problems you didn’t catch in real time.

Nikolay Samokhvalov