Add pg_trigger_depth() function

Alvaro Herrera <alvherre@alvh.no-ip.org>

Commit: 74ab96a45ef6259aa6a86a781580edea8488511a
Author: Alvaro Herrera <alvherre@alvh.no-ip.org>
Date: 2012-01-25T16:22:54Z
Releases: 9.2.0
Add pg_trigger_depth() function

This reports the depth level of triggers currently in execution, or zero
if not called from inside a trigger.

No catversion bump in this patch, but you have to initdb if you want
access to the new function.

Author: Kevin Grittner

Files