Postgresql 中文操作指南
37.9. check_constraints #
视图 check_constraints 包含当前启用角色所拥有的所有检查约束,可以针对表或域进行定义。(表或域的所有者为该约束的所有者。)
The view check_constraints contains all check constraints, either defined on a table or on a domain, that are owned by a currently enabled role. (The owner of the table or domain is the owner of the constraint.)
Table 37.7. check_constraints Columns
Table 37.7. check_constraints Columns
Column Type Description |
constraint_catalog sql_identifier Name of the database containing the constraint (always the current database) |
constraint_schema sql_identifier Name of the schema containing the constraint |
constraint_name sql_identifier Name of the constraint |
check_clause character_data The check expression of the check constraint |