Class | Category | Data Type (Synonyms) |
---|---|---|
Character | Fixed length | c |
char (character) | ||
Varying length | text | |
varchar | ||
Numeric | Exact numeric | integer4 (i4, integer) |
integer2 (i2, smallint) | ||
integer8 (i8, bigint) | ||
integer1 (i1, tinyint) | ||
decimal | ||
Approximate numeric | float (float8, double precision) | |
float4 (real) | ||
Abstract | (none) | date |
(none) | money | |
IPv4 | An IPv4 host address. 4-byte, network address in dotted-decimal notation (four decimal numbers, each ranging from 0 to 255, separated by dots). For example: 172.16.254.1 | |
IPv6 | An IPv6 host address. 16-byte, network address in eight groups of four hexadecimal digits separated by colons. For example: 2001:0db8:85a3:0042:1000:8a2e:0370:7334 | |
UUID | A unique 128-bit integer | |
Binary | byte | |
byte varying | ||
Boolean | BOOLEAN | Literal values TRUE or FALSE, strings 'TRUE' or 'FALSE' |