@@ -235,15 +235,15 @@ drop cascades to table schema_one."table two"
235235drop cascades to table schema_one.table_three
236236NOTICE: table "schema_two_table_two" does not exist, skipping
237237CONTEXT: SQL statement "DROP TABLE IF EXISTS audit_tbls.schema_two_table_two"
238- PL/pgSQL function test_evtrig_dropped_objects() line 8 at EXECUTE statement
238+ PL/pgSQL function test_evtrig_dropped_objects() line 8 at EXECUTE
239239NOTICE: table "audit_tbls_schema_two_table_three" does not exist, skipping
240240CONTEXT: SQL statement "DROP TABLE IF EXISTS audit_tbls.audit_tbls_schema_two_table_three"
241- PL/pgSQL function test_evtrig_dropped_objects() line 8 at EXECUTE statement
241+ PL/pgSQL function test_evtrig_dropped_objects() line 8 at EXECUTE
242242SQL statement "DROP TABLE IF EXISTS audit_tbls.schema_two_table_three"
243- PL/pgSQL function test_evtrig_dropped_objects() line 8 at EXECUTE statement
243+ PL/pgSQL function test_evtrig_dropped_objects() line 8 at EXECUTE
244244ERROR: object audit_tbls.schema_two_table_three of type table cannot be dropped
245245CONTEXT: SQL statement "DROP TABLE IF EXISTS audit_tbls.schema_two_table_three"
246- PL/pgSQL function test_evtrig_dropped_objects() line 8 at EXECUTE statement
246+ PL/pgSQL function test_evtrig_dropped_objects() line 8 at EXECUTE
247247DELETE FROM undroppable_objs WHERE object_identity = 'audit_tbls.schema_two_table_three';
248248DROP SCHEMA schema_one, schema_two CASCADE;
249249NOTICE: drop cascades to 7 other objects
@@ -256,21 +256,21 @@ drop cascades to table schema_one."table two"
256256drop cascades to table schema_one.table_three
257257NOTICE: table "schema_two_table_two" does not exist, skipping
258258CONTEXT: SQL statement "DROP TABLE IF EXISTS audit_tbls.schema_two_table_two"
259- PL/pgSQL function test_evtrig_dropped_objects() line 8 at EXECUTE statement
259+ PL/pgSQL function test_evtrig_dropped_objects() line 8 at EXECUTE
260260NOTICE: table "audit_tbls_schema_two_table_three" does not exist, skipping
261261CONTEXT: SQL statement "DROP TABLE IF EXISTS audit_tbls.audit_tbls_schema_two_table_three"
262- PL/pgSQL function test_evtrig_dropped_objects() line 8 at EXECUTE statement
262+ PL/pgSQL function test_evtrig_dropped_objects() line 8 at EXECUTE
263263SQL statement "DROP TABLE IF EXISTS audit_tbls.schema_two_table_three"
264- PL/pgSQL function test_evtrig_dropped_objects() line 8 at EXECUTE statement
264+ PL/pgSQL function test_evtrig_dropped_objects() line 8 at EXECUTE
265265NOTICE: table "schema_one_table_one" does not exist, skipping
266266CONTEXT: SQL statement "DROP TABLE IF EXISTS audit_tbls.schema_one_table_one"
267- PL/pgSQL function test_evtrig_dropped_objects() line 8 at EXECUTE statement
267+ PL/pgSQL function test_evtrig_dropped_objects() line 8 at EXECUTE
268268NOTICE: table "schema_one_table two" does not exist, skipping
269269CONTEXT: SQL statement "DROP TABLE IF EXISTS audit_tbls."schema_one_table two""
270- PL/pgSQL function test_evtrig_dropped_objects() line 8 at EXECUTE statement
270+ PL/pgSQL function test_evtrig_dropped_objects() line 8 at EXECUTE
271271NOTICE: table "schema_one_table_three" does not exist, skipping
272272CONTEXT: SQL statement "DROP TABLE IF EXISTS audit_tbls.schema_one_table_three"
273- PL/pgSQL function test_evtrig_dropped_objects() line 8 at EXECUTE statement
273+ PL/pgSQL function test_evtrig_dropped_objects() line 8 at EXECUTE
274274ERROR: object schema_one.table_three of type table cannot be dropped
275275DELETE FROM undroppable_objs WHERE object_identity = 'schema_one.table_three';
276276DROP SCHEMA schema_one, schema_two CASCADE;
@@ -284,21 +284,21 @@ drop cascades to table schema_one."table two"
284284drop cascades to table schema_one.table_three
285285NOTICE: table "schema_two_table_two" does not exist, skipping
286286CONTEXT: SQL statement "DROP TABLE IF EXISTS audit_tbls.schema_two_table_two"
287- PL/pgSQL function test_evtrig_dropped_objects() line 8 at EXECUTE statement
287+ PL/pgSQL function test_evtrig_dropped_objects() line 8 at EXECUTE
288288NOTICE: table "audit_tbls_schema_two_table_three" does not exist, skipping
289289CONTEXT: SQL statement "DROP TABLE IF EXISTS audit_tbls.audit_tbls_schema_two_table_three"
290- PL/pgSQL function test_evtrig_dropped_objects() line 8 at EXECUTE statement
290+ PL/pgSQL function test_evtrig_dropped_objects() line 8 at EXECUTE
291291SQL statement "DROP TABLE IF EXISTS audit_tbls.schema_two_table_three"
292- PL/pgSQL function test_evtrig_dropped_objects() line 8 at EXECUTE statement
292+ PL/pgSQL function test_evtrig_dropped_objects() line 8 at EXECUTE
293293NOTICE: table "schema_one_table_one" does not exist, skipping
294294CONTEXT: SQL statement "DROP TABLE IF EXISTS audit_tbls.schema_one_table_one"
295- PL/pgSQL function test_evtrig_dropped_objects() line 8 at EXECUTE statement
295+ PL/pgSQL function test_evtrig_dropped_objects() line 8 at EXECUTE
296296NOTICE: table "schema_one_table two" does not exist, skipping
297297CONTEXT: SQL statement "DROP TABLE IF EXISTS audit_tbls."schema_one_table two""
298- PL/pgSQL function test_evtrig_dropped_objects() line 8 at EXECUTE statement
298+ PL/pgSQL function test_evtrig_dropped_objects() line 8 at EXECUTE
299299NOTICE: table "schema_one_table_three" does not exist, skipping
300300CONTEXT: SQL statement "DROP TABLE IF EXISTS audit_tbls.schema_one_table_three"
301- PL/pgSQL function test_evtrig_dropped_objects() line 8 at EXECUTE statement
301+ PL/pgSQL function test_evtrig_dropped_objects() line 8 at EXECUTE
302302SELECT * FROM dropped_objects WHERE schema IS NULL OR schema <> 'pg_toast';
303303 type | schema | object
304304--------------+------------+-------------------------------------
@@ -330,7 +330,7 @@ SELECT * FROM dropped_objects WHERE schema IS NULL OR schema <> 'pg_toast';
330330DROP OWNED BY regression_bob;
331331NOTICE: schema "audit_tbls" does not exist, skipping
332332CONTEXT: SQL statement "DROP TABLE IF EXISTS audit_tbls.audit_tbls_schema_one_table_two"
333- PL/pgSQL function test_evtrig_dropped_objects() line 8 at EXECUTE statement
333+ PL/pgSQL function test_evtrig_dropped_objects() line 8 at EXECUTE
334334SELECT * FROM dropped_objects WHERE type = 'schema';
335335 type | schema | object
336336--------+--------+------------
0 commit comments