Reading the internals of Postgres: Database cluster, databases, and tables
kept by eddie
A developer explores PostgreSQL's logical and physical storage, showing how database clusters, OIDs, relfilenodes, and file layouts work under the hood.