35.52. table_constraints
table_constraints
The view table_constraints contains all constraints belonging to tables that the current user owns or has some privilege other than SELECT on.
Column Type Description |
|---|
constraint_catalog Name of the database that contains the constraint (always the current database) |
constraint_schema Name of the schema that contains the constraint |
constraint_name Name of the constraint |
table_catalog Name of the database that contains the table (always the current database) |
table_schema Name of the schema that contains the table |
table_name Name of the table |
constraint_type Type of the constraint: |
is_deferrable
|
initially_deferred
|
enforced
|
nulls_distinct If the constraint is a unique constraint, then |
: table_constraints Columns