Skip to content
Opensource internals
  • Posts

Timetz

PostgreSQL's time and timetz Implementation in C

Oct 12, 2026 7 min read Jay Hubbert

A PostgreSQL time is a 64-bit integer counting microseconds since midnight. A timetz is the same integer plus a 4-byte timezone offset. So far so simple. The interesting part is …

PostgresInternalsTimeTimetz

Read more →

© 2026 Jay Hubbert · Built with Hugo 0.168.0

RSS ·