aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorAndrew Dunstan <andrew@dunslane.net>2006-05-26 19:23:09 +0000
committerAndrew Dunstan <andrew@dunslane.net>2006-05-26 19:23:09 +0000
commit0a269db9cf823de737049967a0c03ca82b9abce1 (patch)
tree98663fee1eaad0ffb08fcd9c7eb41b3d7a975ee2 /doc/src
parent777f72cd37202737a9faea0c406804f37ed1c955 (diff)
downloadpostgresql-0a269db9cf823de737049967a0c03ca82b9abce1.tar.gz
postgresql-0a269db9cf823de737049967a0c03ca82b9abce1.zip
Add table_name and table_schema to plpython trigger data, plus docs and regression test.
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/plpython.sgml5
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/src/sgml/plpython.sgml b/doc/src/sgml/plpython.sgml
index c3f27e844bf..ccccf66155d 100644
--- a/doc/src/sgml/plpython.sgml
+++ b/doc/src/sgml/plpython.sgml
@@ -1,4 +1,4 @@
-<!-- $PostgreSQL: pgsql/doc/src/sgml/plpython.sgml,v 1.29 2005/05/20 01:52:25 neilc Exp $ -->
+<!-- $PostgreSQL: pgsql/doc/src/sgml/plpython.sgml,v 1.30 2006/05/26 19:23:09 adunstan Exp $ -->
<chapter id="plpython">
<title>PL/Python - Python Procedural Language</title>
@@ -123,6 +123,9 @@ def __plpython_procedure_myfunc_23456():
<literal>AFTER</>, and <literal>UNKNOWN</>.
<literal>TD["level"]</> contains one of <literal>ROW</>,
<literal>STATEMENT</>, and <literal>UNKNOWN</>.
+ <literal>TD["name"]</> contains the trigger name,
+ <literal>TD["table_name"]</> contains the name of the table on which the trigger occurred,
+ <literal>TD["table_schema"]</> contains the schema of the table on which the trigger occurred,
<literal>TD["name"]</> contains the trigger name, and
<literal>TD["relid"]</> contains the OID of the table on
which the trigger occurred. If the <command>CREATE TRIGGER</> command