mirror of
https://github.com/postgres/postgres.git
synced 2025-06-23 14:01:44 +03:00
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.
This commit is contained in:
@ -17877,6 +17877,13 @@ FOR EACH ROW EXECUTE PROCEDURE suppress_redundant_updates_trigger();
|
||||
in the dependency graph leading to this object
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>is_temporary</literal></entry>
|
||||
<entry><type>bool</type></entry>
|
||||
<entry>
|
||||
Flag indicating that the object was a temporary object.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>object_type</literal></entry>
|
||||
<entry><type>text</type></entry>
|
||||
|
Reference in New Issue
Block a user