| Документация по PostgreSQL 9.4.1 | |||
|---|---|---|---|
| Пред. | Уровень выше | Глава 34. Информационная схема | След. |
34.53. triggered_update_columns
Для триггеров в текущей базе данных, установленных для списка колонок (например, UPDATE OF column1, column2), представление triggered_update_columns показывает эти колонки. Триггеры, для которых не задаётся список колонок, в этом представлении не отражаются. В нём показываются только колонки, доступные текущему пользователю (как владельцу или имеющему некоторые права, кроме SELECT).
Таблица 34-51. Колонки triggered_update_columns
| Имя | Тип данных | Описание |
|---|---|---|
| trigger_catalog | sql_identifier | Имя базы данных, содержащей триггер (всегда текущая база) |
| trigger_schema | sql_identifier | Имя схемы, содержащей триггер |
| trigger_name | sql_identifier | Имя триггера |
| event_object_catalog | sql_identifier | Имя базы данных, содержащей таблицу, для которой определён триггер (всегда текущая база) |
| event_object_schema | sql_identifier | Имя схемы, содержащей таблицу, для которой определён триггер |
| event_object_table | sql_identifier | Имя таблицы, для которой определён триггер |
| event_object_column | sql_identifier | Имя колонки, для которой определён триггер |
| Пред. | Начало | След. |
| tables | Уровень выше | triggers |
| PostgreSQL 9.4.1 Documentation | |||
|---|---|---|---|
| Prev | Up | Chapter 34. The Information Schema | Next |
34.53. triggered_update_columns
For triggers in the current database that specify a column list (like UPDATE OF column1, column2), the view triggered_update_columns identifies these columns. Triggers that do not specify a column list are not included in this view. Only those columns are shown that the current user owns or has some privilege other than SELECT on.
Table 34-51. triggered_update_columns Columns
| Name | Data Type | Description |
|---|---|---|
| trigger_catalog | sql_identifier | Name of the database that contains the trigger (always the current database) |
| trigger_schema | sql_identifier | Name of the schema that contains the trigger |
| trigger_name | sql_identifier | Name of the trigger |
| event_object_catalog | sql_identifier | Name of the database that contains the table that the trigger is defined on (always the current database) |
| event_object_schema | sql_identifier | Name of the schema that contains the table that the trigger is defined on |
| event_object_table | sql_identifier | Name of the table that the trigger is defined on |
| event_object_column | sql_identifier | Name of the column that the trigger is defined on |