-
Postgres doesn’t know it’s in a container. The OOM killer does.
The kernel enforces your Postgres pod’s memory limit, not Postgres. Here is how to budget shared_buffers, work_mem and the pod limit together, and what actually happens when you cross it.
-
Agents Can Write Migrations. They Shouldn’t Ship Them.
AI agents can write a PostgreSQL migration in seconds. Here is the agent-assisted workflow from my SRE Day NY 2026 talk: the agent experiments fast on ephemeral databases, and a human keeps the final word.
-
The ALTER TABLE that took down your app. It never ran
A migration that waits for a lock can block every query behind it. Here is how the lock queue works and how to run DDL without causing an outage.
-
PostgreSQL in Kubernetes?!?!? are you serious?
Oh, I’m very serious! Kubernetes is often dismissed for stateful workloads. Critics call it unnecessary complexity for databases, or an extra layer (bare metal → VM → pod) that constrains resources. As you can probably tell, I’m all in on…
-
I moved the blog to WordPress.com
thepostgresguy.com now runs on managed WordPress.com. Here is what changed, why, and what happened to the tools.
-
Postgres 19 changed five defaults. Your config didn’t notice
Hi there — Welcome to Issue #11 of Vacuum & Analyze. PostgreSQL 19 is planned for general availability on November 19. A second release candidate lands this Thursday, the same day PostgreSQL 14 gets its final release. Last issue I…
-
I Tried Navicat Premium 18 on Real Postgres Work. Here’s What I Found.
A Postgres engineer’s take on Navicat Premium 18 — the modeler that sold me, the folder and color-coded connections, where the AI and backups fall short, and whether the price is worth it. Navicat provided the license; this is what…
-
Postgres 14 dies in 16 days. Your upgrade plan is pg_dump?
Hi there — Welcome to Issue #10 of Vacuum & Analyze. This one runs on a deadline: PostgreSQL 14 gets its final minor release on November 12, 2026. After that, no more fixes. Nothing happens to your database on November…
-
Your query plan changed overnight. Nobody deployed anything
Hi there — Welcome to Issue #9 of Vacuum & Analyze. Eight issues in, and we’ve mostly talked about the first half of the name. This one is about the second half: ANALYZE, and the statistics the planner uses to…
-
Building a Concurrent Ledger in Postgres
You have a ledger table for all your customers’ accounts. You want two transactions on the same account to serialize, but transactions on different accounts to run in parallel. This post describes a solution using an advisory lock keyed on…
