Tennessee, US

PostgreSQL constraints PostgreSQL constraints are used to specify data rules in a table. If there is a data behavior that violates the constraint, the behavior is terminated by the constraint. Constraints can be specified when the table is created (via the CREATE TABLE statement) or after the table is created (via the ALTER TABLE statement).