PostgreSQL Page Layout: Rebuilding the 8 KB Heap Page in Go

Every table and index in PostgreSQL is stored as a sequence of 8 KB pages on disk. The format is defined in src/include/storage/bufpage.h…