From c584d11bb3a371dfca3d28f116b9c5af5f21338b Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Thu, 31 Dec 2009 14:41:23 +0000 Subject: Add information_schema.triggered_update_columns This reflects the recently added support for triggers on columns. --- doc/src/sgml/information_schema.sgml | 76 +++++++++++++++++++++++++++++++++++- 1 file changed, 75 insertions(+), 1 deletion(-) (limited to 'doc/src') diff --git a/doc/src/sgml/information_schema.sgml b/doc/src/sgml/information_schema.sgml index ad945c2ea9f..4888b647d3c 100644 --- a/doc/src/sgml/information_schema.sgml +++ b/doc/src/sgml/information_schema.sgml @@ -1,4 +1,4 @@ - + The Information Schema @@ -4796,6 +4796,80 @@ ORDER BY c.ordinal_position; + + <literal>triggered_update_columns</literal> + + + 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 non-SELECT privilege on. + + + + <literal>triggered_update_columns</literal> 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 + + + +
+
+ <literal>triggers</literal> -- cgit v1.2.3