Skip to content
Opensource internals
  • Posts

Daterange

PostgreSQL's Range Type Implementation in C

Aug 13, 2026 9 min read Jay Hubbert

A range type is one of PostgreSQL’s stranger storage formats. It is a variable-length value, but its first four bytes are not a payload — they are the length of the whole thing, …

PostgresInternalsRangeInt4rangeDaterange

Read more →

© 2026 Jay Hubbert · Built with Hugo 0.168.0

RSS ·