Skip to main content

Module storage

Module storage 

Source
Expand description

Pages and the files they live in.

See Database File Layout.

Modules§

checksum
AI-generated translation of Postgres’s checksum_impl.h.
manager
Maps (relation, fork, block) to a file and an offset, and handles storing and retrieving blocks. Postgres: smgr.c and md.c.
page
See bufpage.h and bufpage.c.

Structs§

BlockCount
How many blocks a fork or a segment holds: blocks 0 to count - 1.
BlockNumber
Position of a block within one fork of a relation, counting from 0.

Constants§

BLCKSZ
Size of a page, and of every block in a relation file. Postgres’s BLCKSZ.