| Документация по PostgreSQL 9.4.1 | |||
|---|---|---|---|
| Пред. | Уровень выше | Глава 34. Информационная схема | След. |
34.9. check_constraints
Представление check_constraints показывает все ограничения-проверки, либо определённые для таблицы или домена, либо принадлежащие текущей активной роли. (Владелец таблицы или домена является владельцем ограничения.)
Таблица 34-7. Колонки check_constraints
| Имя | Тип данных | Описание |
|---|---|---|
| constraint_catalog | sql_identifier | Имя базы данных, содержащей ограничение (всегда текущая база) |
| constraint_schema | sql_identifier | Имя схемы, содержащей ограничение |
| constraint_name | sql_identifier | Имя ограничения |
| check_clause | character_data | Выражение проверки для ограничения |
| Пред. | Начало | След. |
| check_constraint_routine_usage | Уровень выше | collations |
| PostgreSQL 9.4.1 Documentation | |||
|---|---|---|---|
| Prev | Up | Chapter 34. The Information Schema | Next |
34.9. 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 34-7. check_constraints Columns
| Name | Data 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 |