PostgreSQL Data Types
PostgreSQL provides a wealth of data types, including numeric types, character types, date-time types, binary data types, currency types, Boolean types, enumeration types, JSON types, array types, collection types, URL types, UUID types, and XML types, interval type, bit string type, etc. In addition to that, you can also customize composite types.
-
PostgreSQL Characters
This article describes the three character data types in PostgreSQL:CHAR
,VARCHAR
, andTEXT
. -
PostgreSQL Integers
This article describes the three integer data types in PostgreSQL:SMALLINT
,INTEGER
, andBIGINT
. -
PostgreSQL NUMERIC
This article introduces theNUMERIC
type in PostgreSQL. -
PostgreSQL Boolean
This article introduces the usage of PostgreSQLBOOLEAN
data type. -
PostgreSQL DATE
This article describes how to use theDATE
type in PostgreSQL and some useful functions working withDATE
value. -
PostgreSQL TIME
This article describes how to use the TIME type in PostgreSQL and some useful functions for working with TIME values. -
PostgreSQL TIMESTAMP
This article describes how to use the timestamp type in PostgreSQL and some useful functions for working with timestamp data. -
PostgreSQL INTERVAL
This article describes how to useINTERVAL
types. -
PostgreSQL Arrays
This article describes how to use arrays to store multiple values ββin PostgreSQL. -
PostgreSQL JSON
This article describes how to use the JSON type in PostgreSQL and show you some useful functions for working with JSON data. -
PostgreSQL UUID
This article describes the PostgreSQL UUID data type and how to use UUIDs as primary keys. -
PostgreSQL HSTORE
The PostgreSQLHSTORE
data types are used to store data of key-value pair type. -
PostgreSQL Enum
This article describes the PostgreSQL enum data type and its usage. -
PostgreSQL Range
This article introduces what is PostgreSQL range data type and how to use PostgreSQL range data type. -
PostgreSQL CREATE TYPE
This article will discuss how to create own data types in PostgreSQL.