From 3a9ae3d2068334bbd0e54efaa729e7590994ccc8 Mon Sep 17 00:00:00 2001 From: Andrew Dunstan Date: Sun, 28 May 2006 03:03:17 +0000 Subject: TG_table_name and TG_table_schema for plpgsql, plus docs and regression. --- doc/src/sgml/plpgsql.sgml | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) (limited to 'doc/src') diff --git a/doc/src/sgml/plpgsql.sgml b/doc/src/sgml/plpgsql.sgml index 2d1351d9c7e..4f302a858e7 100644 --- a/doc/src/sgml/plpgsql.sgml +++ b/doc/src/sgml/plpgsql.sgml @@ -1,4 +1,4 @@ - + <application>PL/pgSQL</application> - <acronym>SQL</acronym> Procedural Language @@ -2745,7 +2745,28 @@ RAISE EXCEPTION 'Nonexistent ID --> %', user_id; Data type name; the name of the table that caused the trigger - invocation. + invocation. This is now deprecated, and could disappear in a future + release. Use TG_TABLE_NAME instead. + + + + + + TG_TABLE_NAME + + + Data type name; the name of the table that + caused the trigger invocation. + + + + + + TG_TABLE_SCHEMA + + + Data type name; the name of the schema of the + table that caused the trigger invocation. -- cgit v1.2.3