-
Notifications
You must be signed in to change notification settings - Fork 9
Closed
Description
Builtin data types
-
bigint,int8- signed eight-byte integer -
bigserial,serial8autoincrementing eight-byte integer -
bit [ (n) ]fixed-length bit string -
bit varying [ (n) ],varbit [ (n) ]variable-length bit string -
boolean,boollogical Boolean (true/false) -
boxrectangular box on a plane -
byteabinary data (“byte array”) -
character [ (n) ],char [ (n) ]fixed-length character string -
character varying [ (n) ],varchar [ (n) ]variable-length character string -
cidrIPv4 or IPv6 network address -
circlecircle on a plane -
datecalendar date (year, month, day) -
double precision,float8double precision floating-point number (8 bytes) -
inetIPv4 or IPv6 host address -
integer,int,int4signed four-byte integer -
intervaltime span-
interval [ (p) ] -
interval [ fields ] [ (p) ]likeinterval year to monthorinterval seconds (50)
-
-
jsontextual JSON data -
jsonbbinary JSON data, decomposed -
lineinfinite line on a plane -
lsegline segment on a plane -
macaddrMAC (Media Access Control) address -
macaddr8MAC (Media Access Control) address (EUI-64 format) -
moneycurrency amount -
numeric [ (p, s) ],decimal [ (p, s) ]exact numeric of selectable precision -
dec [ (p, s) ](not documented???) -
pathgeometric path on a plane -
pg_lsnPostgreSQL Log Sequence Number -
pg_snapshotuser-level transaction ID snapshot -
pointgeometric point on a plane -
polygonclosed geometric path on a plane -
real,float4single precision floating-point number (4 bytes) -
smallint,int2signed two-byte integer -
smallserial,serial2autoincrementing two-byte integer -
serial,serial4autoincrementing four-byte integer -
textvariable-length character string -
timetime of day-
time [ (p) ] -
timetz [ (p) ] -
time without time zone -
time with time zone -
time (p) without time zone -
time (p) with time zone
-
-
timestampdate and time-
timestamp [ (p) ] -
timestamptz [ (p) ] -
timestamp without time zone -
timestamp with time zone -
timestamp (p) without time zone -
timestamp (p) with time zone
-
-
tsquerytext search query -
tsvectortext search document -
txid_snapshotuser-level transaction ID snapshot (deprecated; see pg_snapshot) -
uuiduniversally unique identifier -
xmlXML data
Range types
Object identifier types
Array types
-
int[],int[][],int[10][10][10]
User-defined types
- User-defined types
- See also the enum type
- See also domain types
Metadata
Metadata
Assignees
Labels
No labels