CHECK constraints in Postgres

CHECK constraints in Postgres allows expressing row-level constraints that allows for more nuanced constraints than null checks.

Source: https://www.postgresql.org/docs/13/ddl-constraints.html