HN Hall of Fame Weekly email

How Postgres Makes Transactions Atomic

brandur.org Essays & writing Essays & articles Software engineering Candidate
Screenshot of brandur.org captured 2026-07-20
Page preview · captured 2026-07-20

Submission timeline

2007–2026

One slot for every year since HN launched. Height is that year's peak points; orange marks a 100+ point or 50+ comment breakout. Select a bar to open its strongest thread.

Top comments

Author here with just a quick note that writing this was a pretty great learning experience. Postgres has always been the ultimate black box — it does some amazing things, but I generally have no idea how. I read a lot of Postgres code to get this finished, and I'm happy to say that for a codebase with so many authors, the quality of Postgres' is very high. Like any complex program it can be a little hard to trace…

brandur·374-point thread·

Submitter, or a moderator, please edit the title to re-add the word "How". That's done automatically, but sometimes it's wrong. It's especially so here. Also, this remains as fantastic an article on PostgreSQL's MVCC nature as it was previously: https://news.ycombinator.com/item?id=15027870

rosser·278-point thread·

The first top-level comment from each of the four biggest threads, in HN’s own order. Excerpts are shortened; open a comment for full context.

HN stats

Breakout years
2

100+ points or 50+ comments

Total points
658

reference only — not used in Hall rules or ranking

Total comments
74

reference only — not used in Hall rules or ranking

Every submission

DateTitle as submittedByPointsComments
2017-08-16How Postgres Makes Transactions AtomicFirst breakout · Best threadcraigkerstiens37448
2019-09-17How Postgres Makes Transactions Atomic (2017)Latest 20+ point returndmitryminkovsky27826
2021-03-12How Postgres Makes Transactions Atomicplaur78230
2026-07-11Postgres Makes Transactions Atomicgurjeet30