Skip to content
Opensource internals
  • Posts

Bit

PostgreSQL's bit and varbit Implementation in C

Sep 8, 2026 9 min read Jay Hubbert

In SQL, bit(4) and bit varying(4) look like different animals: one has a fixed width, the other does not. In PostgreSQL they are the same type underneath. The same struct, the same …

PostgresInternalsBitVarbit

Read more →

© 2026 Jay Hubbert · Built with Hugo 0.168.0

RSS ·