diff options
author | Andrew Dunstan <andrew@dunslane.net> | 2006-05-27 20:24:16 +0000 |
---|---|---|
committer | Andrew Dunstan <andrew@dunslane.net> | 2006-05-27 20:24:16 +0000 |
commit | 22b118b530154c386d850bfe533c6609568724c5 (patch) | |
tree | 1dcd690c36a492cbde47f531325f04983d75b4bc /doc/src | |
parent | 4627a8f41975886ddfe4e482d1453cec797415bb (diff) | |
download | postgresql-22b118b530154c386d850bfe533c6609568724c5.tar.gz postgresql-22b118b530154c386d850bfe533c6609568724c5.zip |
TG_table_name and TG_table_schema for pl/tcl, plus regression test and docs.
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/pltcl.sgml | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/doc/src/sgml/pltcl.sgml b/doc/src/sgml/pltcl.sgml index 2a12a5b26ad..3ffaf81fe5e 100644 --- a/doc/src/sgml/pltcl.sgml +++ b/doc/src/sgml/pltcl.sgml @@ -1,4 +1,4 @@ -<!-- $PostgreSQL: pgsql/doc/src/sgml/pltcl.sgml,v 2.39 2006/03/10 19:10:48 momjian Exp $ --> +<!-- $PostgreSQL: pgsql/doc/src/sgml/pltcl.sgml,v 2.40 2006/05/27 20:24:16 adunstan Exp $ --> <chapter id="pltcl"> <title>PL/Tcl - Tcl Procedural Language</title> @@ -528,6 +528,26 @@ SELECT 'doesn''t' AS ret </varlistentry> <varlistentry> + <term><varname>$TG_table_name</varname></term> + <listitem> + <para> + The name of the table that caused the trigger procedure + to be invoked. + </para> + </listitem> + </varlistentry> + + <varlistentry> + <term><varname>$TG_table_schema</varname></term> + <listitem> + <para> + The schema of the table that caused the trigger procedure + to be invoked. + </para> + </listitem> + </varlistentry> + + <varlistentry> <term><varname>$TG_relatts</varname></term> <listitem> <para> |