↑↓ select ↵ open ⌫ change scope Open full search

PG.CENTER connects PostgreSQL documentation, reference, and ecosystem knowledge. Maintained by Pigsty.

Functions / Event Trigger Functions

pg_event_trigger_dropped_objects

Read the PG 18 manual

pg_event_trigger_dropped_objects returns a list of all objects dropped by the command in whose sql_drop event it is called.

Reading PG 18current·documented in 15 of 27 versions, 9.3 to 20

Signatures & examples

pg_event_trigger_dropped_objects () → setof record
pg_event_trigger_dropped_objects returns a list of all objects dropped by the command in whose sql_drop event it is called. If called in any other context, an error is raised. This function returns the following columns:
Version history 2
  1. 12 → 13 changed
  2. 9.2 → 9.3 added

Definition snapshot: b7bd9cda · English manual source