|
1 |
| -<!-- $PostgreSQL: pgsql/doc/src/sgml/information_schema.sgml,v 1.43 2009/12/30 22:48:10 petere Exp $ --> |
| 1 | +<!-- $PostgreSQL: pgsql/doc/src/sgml/information_schema.sgml,v 1.44 2009/12/31 14:41:23 petere Exp $ --> |
2 | 2 |
|
3 | 3 | <chapter id="information-schema">
|
4 | 4 | <title>The Information Schema</title>
|
@@ -4796,6 +4796,80 @@ ORDER BY c.ordinal_position;
|
4796 | 4796 | </table>
|
4797 | 4797 | </sect1>
|
4798 | 4798 |
|
| 4799 | + <sect1 id="infoschema-triggered-update-columns"> |
| 4800 | + <title><literal>triggered_update_columns</literal></title> |
| 4801 | + |
| 4802 | + <para> |
| 4803 | + For triggers in the current database that specify a column list |
| 4804 | + (like <literal>UPDATE OF column1, column2</literal>), the |
| 4805 | + view <literal>triggered_update_columns</literal> identifies these |
| 4806 | + columns. Triggers that do not specify a column list are not |
| 4807 | + included in this view. Only those columns are shown that the |
| 4808 | + current user owns or has some non-SELECT privilege on. |
| 4809 | + </para> |
| 4810 | + |
| 4811 | + <table> |
| 4812 | + <title><literal>triggered_update_columns</literal> Columns</title> |
| 4813 | + |
| 4814 | + <tgroup cols="3"> |
| 4815 | + <thead> |
| 4816 | + <row> |
| 4817 | + <entry>Name</entry> |
| 4818 | + <entry>Data Type</entry> |
| 4819 | + <entry>Description</entry> |
| 4820 | + </row> |
| 4821 | + </thead> |
| 4822 | + |
| 4823 | + <tbody> |
| 4824 | + <row> |
| 4825 | + <entry><literal>trigger_catalog</literal></entry> |
| 4826 | + <entry><type>sql_identifier</type></entry> |
| 4827 | + <entry>Name of the database that contains the trigger (always the current database)</entry> |
| 4828 | + </row> |
| 4829 | + |
| 4830 | + <row> |
| 4831 | + <entry><literal>trigger_schema</literal></entry> |
| 4832 | + <entry><type>sql_identifier</type></entry> |
| 4833 | + <entry>Name of the schema that contains the trigger</entry> |
| 4834 | + </row> |
| 4835 | + |
| 4836 | + <row> |
| 4837 | + <entry><literal>trigger_name</literal></entry> |
| 4838 | + <entry><type>sql_identifier</type></entry> |
| 4839 | + <entry>Name of the trigger</entry> |
| 4840 | + </row> |
| 4841 | + |
| 4842 | + <row> |
| 4843 | + <entry><literal>event_object_catalog</literal></entry> |
| 4844 | + <entry><type>sql_identifier</type></entry> |
| 4845 | + <entry> |
| 4846 | + Name of the database that contains the table that the trigger |
| 4847 | + is defined on (always the current database) |
| 4848 | + </entry> |
| 4849 | + </row> |
| 4850 | + |
| 4851 | + <row> |
| 4852 | + <entry><literal>event_object_schema</literal></entry> |
| 4853 | + <entry><type>sql_identifier</type></entry> |
| 4854 | + <entry>Name of the schema that contains the table that the trigger is defined on</entry> |
| 4855 | + </row> |
| 4856 | + |
| 4857 | + <row> |
| 4858 | + <entry><literal>event_object_table</literal></entry> |
| 4859 | + <entry><type>sql_identifier</type></entry> |
| 4860 | + <entry>Name of the table that the trigger is defined on</entry> |
| 4861 | + </row> |
| 4862 | + |
| 4863 | + <row> |
| 4864 | + <entry><literal>event_object_column</literal></entry> |
| 4865 | + <entry><type>sql_identifier</type></entry> |
| 4866 | + <entry>Name of the column that the trigger is defined on</entry> |
| 4867 | + </row> |
| 4868 | + </tbody> |
| 4869 | + </tgroup> |
| 4870 | + </table> |
| 4871 | + </sect1> |
| 4872 | + |
4799 | 4873 | <sect1 id="infoschema-triggers">
|
4800 | 4874 | <title><literal>triggers</literal></title>
|
4801 | 4875 |
|
|
0 commit comments