PostgreSQL data types cheatsheet _ TablePlus
PostgreSQL data types cheatsheet _ TablePlus
Number types
Storage
Name Range
Size
Serial Types
Name Storage Size Range
Monetary Types
Name Storage Size Range
1 microsecond / 14
time without timezone 8 bytes 00:00:00 to 24:00:00
digits
boolean 1 byte
Geometric Types
Name Size Representation Format
16 + 16n closed path (similar to polygon, n = total ((x1, y1), (x2, y2), …, (xn,
path
bytes points yn))
circle 24 bytes circle – center point and radius <(x, y), r>
Bit Strings
Name Storage Size Description