RefLib

Reference library for AI

Back

postgresql_16:6.1.2.1 Base Types

PostgreSQL 16 > Server Programming > Extending SQL > The PostgreSQL Type System > Base Types

Base types are those, like integer, that are implemented below the level of the SQL language (typically in a low-level language such as C). They generally correspond to what are often known as abstract data types. PostgreSQL can only operate on such types through functions provided by the user and only understands the behavior of such types to the extent that the user describes them. The built-in base types are described in (see postgresql_16:3.5).

Enumerated (enum) types can be considered as a subcategory of base types. The main difference is that they can be created using just SQL commands, without any low-level programming. Refer to (see postgresql_16:3.5.7) for more information.

Back