From abf34a11756bd0f3ab738d3554051abd7edb1557 Mon Sep 17 00:00:00 2001 From: Kevin Grittner Date: Fri, 28 Jan 2011 16:22:17 -0600 Subject: [PATCH] Add documentation of TG_DEPTH for PL/pgSQL. --- doc/src/sgml/plpgsql.sgml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/doc/src/sgml/plpgsql.sgml b/doc/src/sgml/plpgsql.sgml index 527eaecc9b..06da6366cf 100644 --- a/doc/src/sgml/plpgsql.sgml +++ b/doc/src/sgml/plpgsql.sgml @@ -3206,6 +3206,16 @@ RAISE unique_violation USING MESSAGE = 'Duplicate user ID: ' || user_id; + + TG_DEPTH + + + Data type integer; the current number of levels of + nesting within trigger execution. + + + + TG_NARGS -- 2.39.5