RefLib

Reference library for AI

Back

postgresql_16:6.1.2.3 Domains

PostgreSQL 16 > Server Programming > Extending SQL > The PostgreSQL Type System > Domains

A domain is based on a particular underlying type and for many purposes is interchangeable with its underlying type. However, a domain can have constraints that restrict its valid values to a subset of what the underlying type would allow. Domains are created using the SQL command (see postgresql_16:7.1.60). Refer to (see postgresql_16:3.5.18) for more information.

Back