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 36.46. 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 you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.