From e9a077cad3799b41e8deef6fd8cb87e50164a791 Mon Sep 17 00:00:00 2001 From: Alvaro Herrera Date: Mon, 6 Apr 2015 11:40:55 -0300 Subject: pg_event_trigger_dropped_objects: add is_temp column It now also reports temporary objects dropped that are local to the backend. Previously we weren't reporting any temp objects because it was deemed unnecessary; but as it turns out, it is necessary if we want to keep close track of DDL command execution inside one session. Temp objects are reported as living in schema pg_temp, which works because such a schema-qualification always refers to the temp objects of the current session. --- doc/src/sgml/func.sgml | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'doc/src') diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index 53f31b51f54..5f7bf6aa13e 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -17877,6 +17877,13 @@ FOR EACH ROW EXECUTE PROCEDURE suppress_redundant_updates_trigger(); in the dependency graph leading to this object + + is_temporary + bool + + Flag indicating that the object was a temporary object. + + object_type text -- cgit v1.2.3