{"Entry":{"collection":"func","key":"pg-trigger-depth","name":"pg_trigger_depth","aliases":[],"metadata":{"changed_in":[],"changes":[{"descriptions_changed":false,"doc_overhaul":false,"from":"9.1","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"added","to":"9.2"},{"descriptions_changed":false,"doc_overhaul":true,"from":"12","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"changed","to":"13"}],"content_hash":"d4600cd9a21a2702573a3f843bb18c4f5ab16970fbabeab085f9935a133ea4a1","first_version":"9.2","group":"info","group_label":"System Information Functions And Operators","groups":["info"],"imported_at":"2026-09-27T17:57:29.310165+08:00","last_version":"20","name":"pg_trigger_depth","name_key":"pg_trigger_depth","position":28107,"present_in":["9.2","9.3","9.4","9.5","9.6","10","11","12","13","14","15","16","17","18","19","20"],"signature":"pg_trigger_depth () → integer","signature_count":1,"slug":"pg-trigger-depth","source_rev":"b7bd9cda","summary":"Returns the current nesting level of PostgreSQL triggers (0 if not called, directly or indirectly, from inside a trigger).","summary_zh":""}},"Definition":{"Collection":"func","Key":"pg-trigger-depth","SourceDatabase":"center","Version":"18","SourceTable":"func","SourceKey":"pg-trigger-depth","SourceRevision":"b7bd9cda","Facts":{"description":"Returns the current nesting level of PostgreSQL triggers (0 if not called, directly or indirectly, from inside a trigger).","description_html":"Returns the current nesting level of \u003cspan class=\"productname\"\u003ePostgreSQL\u003c/span\u003e triggers (0 if not called, directly or indirectly, from inside a trigger).","description_zh":"","description_zh_html":"","doc":{"anchor":"FUNCTIONS-INFO-SESSION-TABLE","file":"functions-info.html","slug":"18"},"group":"info","group_label":"System Information Functions And Operators","lang":"en","layout":"table-new","pages":["functions-info.html"],"prose_only":false,"signatures":[{"description":"Returns the current nesting level of PostgreSQL triggers (0 if not called, directly or indirectly, from inside a trigger).","description_html":"Returns the current nesting level of \u003cspan class=\"productname\"\u003ePostgreSQL\u003c/span\u003e triggers (0 if not called, directly or indirectly, from inside a trigger).","description_zh":"","description_zh_html":"","examples":[],"html":"\u003ccode class=\"function\"\u003epg_trigger_depth\u003c/code\u003e () → \u003ccode class=\"returnvalue\"\u003einteger\u003c/code\u003e","returns":"integer","text":"pg_trigger_depth () → integer","zh_from":""}],"zh_from":""},"ManualEvidence":{"doc":{"anchor":"FUNCTIONS-INFO-SESSION-TABLE","file":"functions-info.html","slug":"18"}},"MeasuredEvidence":{}},"Text":{"Collection":"func","Key":"pg-trigger-depth","SourceDatabase":"pgweb","Version":"18","Locale":"zh-Hans","Title":"pg_trigger_depth","Summary":"返回PostgreSQL触发器的当前嵌套层级（如果不是从触发器内部直接或间接调用，则为 0）。","BodyHTML":"返回\u003cspan\u003ePostgreSQL\u003c/span\u003e触发器的当前嵌套层级（如果不是从触发器内部直接或间接调用，则为 0）。\u003cpre\u003epg_trigger_depth () → integer\u003c/pre\u003e返回\u003cspan\u003ePostgreSQL\u003c/span\u003e触发器的当前嵌套层级（如果不是从触发器内部直接或间接调用，则为 0）。","SourceRevision":"ca936764","ContentHash":"d78d0002d2dc106898cab06056d86ef0114dcc4849c463722ec71c1d7c7c4708","Payload":{"description_zh":"返回PostgreSQL触发器的当前嵌套层级（如果不是从触发器内部直接或间接调用，则为 0）。","description_zh_html":"返回\u003cspan class=\"productname\"\u003ePostgreSQL\u003c/span\u003e触发器的当前嵌套层级（如果不是从触发器内部直接或间接调用，则为 0）。","signatures":[{"description_zh":"返回PostgreSQL触发器的当前嵌套层级（如果不是从触发器内部直接或间接调用，则为 0）。","description_zh_html":"返回\u003cspan class=\"productname\"\u003ePostgreSQL\u003c/span\u003e触发器的当前嵌套层级（如果不是从触发器内部直接或间接调用，则为 0）。","returns":"integer","text":"pg_trigger_depth () → integer","zh_from":"doc"}],"zh_from":"doc"}},"RequestedLocale":"zh-Hans","Fallback":false,"Versions":["10","11","12","13","14","15","16","17","18","19","20","9.2","9.3","9.4","9.5","9.6"],"Locales":["en","zh-Hans"],"Signatures":[{"Version":"18","Ordinal":0,"Hash":"c8484f9b4126c709d8e5b0b6368a2e9d6bc8e66563fc811c8932262dda27b441","Text":"pg_trigger_depth () → integer","Returns":"integer","Payload":{"description":"Returns the current nesting level of PostgreSQL triggers (0 if not called, directly or indirectly, from inside a trigger).","description_html":"Returns the current nesting level of \u003cspan class=\"productname\"\u003ePostgreSQL\u003c/span\u003e triggers (0 if not called, directly or indirectly, from inside a trigger).","description_zh":"","description_zh_html":"","examples":[],"html":"\u003ccode class=\"function\"\u003epg_trigger_depth\u003c/code\u003e () → \u003ccode class=\"returnvalue\"\u003einteger\u003c/code\u003e","returns":"integer","text":"pg_trigger_depth () → integer","zh_from":""}}],"Spellings":null,"SQLState":null,"Evidence":null}
