mirror of
https://github.com/postgres/postgres.git
synced 2025-07-17 06:41:09 +03:00
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
This commit is contained in:
@ -205,4 +205,6 @@ extern bool RI_Initial_Check(Trigger *trigger,
|
||||
|
||||
extern int RI_FKey_trigger_type(Oid tgfoid);
|
||||
|
||||
extern Datum pg_trigger_depth(PG_FUNCTION_ARGS);
|
||||
|
||||
#endif /* TRIGGER_H */
|
||||
|
Reference in New Issue
Block a user