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.
Table 37.50. table_constraints
Columns
Column Type Description |
---|
Name of the database that contains the constraint (always the current database) |
Name of the schema that contains the constraint |
Name of the constraint |
Name of the database that contains the table (always the current database) |
Name of the schema that contains the table |
Name of the table |
Type of the constraint: |
|
|
Applies to a feature not available in
PostgreSQL (currently always
|
If the constraint is a unique constraint, then |