PostgreSQL Internals Deep Dive

A wizard-level exploration of the PostgreSQL codebase, from SQL string to disk blocks and back.