Skip to content
Opensource internals
  • Posts

Posts

All posts published on this site.

Everything published here, newest first.

PostgreSQL's Multirange Type Implementation in C: One Format, Six Types

Aug 31, 2026 7 min read Jay Hubbert

All six multirange types share one implementation: a 12-byte header, 32-bit items that store lengths by default and absolute offsets every fourth entry, plus a flags array.

PostgresInternalsMultirangeRange

Read more →

tmux Works Around Terminal Bugs: Believe Nothing, Probe Everything

Aug 30, 2026 10 min read Jay Hubbert

tmux treats terminal capabilities as unverified claims. It layers terminfo, user overrides, named features, runtime probing and a hard-coded table of per-terminal quirks — and…

TmuxTerminalWorkaroundsInternals

Read more →

PostgreSQL Does Async I/O with io_uring: A Closed-Loop Read-Ahead Controller

Aug 27, 2026 32 min read Jay Hubbert

PostgreSQL 20’s AIO subsystem has an io_uring backend plus a read-ahead controller that doubles its look-ahead distance only when the backend actually had to wait for I/O.

PostgresPerformanceIoInternals

Read more →

tmux Redraws Only What Changed: Five Layers of Less Work

Aug 21, 2026 11 min read Jay Hubbert

tmux never redraws ’the screen’ — it redraws the difference.

TmuxPerformanceInternalsRedraw

Read more →

PostgreSQL's macaddr and macaddr8 Implementation in C: Six Bytes, Eight Bytes, One Marker

Aug 21, 2026 8 min read Jay Hubbert

macaddr8 accepts six-byte EUI-48 input and rewrites it by inserting FF FE in the middle — the marker that makes conversion back to macaddr reversible.

PostgresInternalsMacaddrMacaddr8

Read more →

← Newer Page 85 of 90 Older →

© 2026 Jay Hubbert · Built with Hugo 0.168.0

RSS ·