Skip to content

Glossary: PostgreSQL for Developers

constraint

Also written: constraints

A rule on a column or table that Postgres checks on every INSERT and UPDATE, such as NOT NULL, UNIQUE, CHECK or a foreign key.

Where the book teaches it

Related terms

CHECKUNIQUEforeign key constraint