SELECT evtname AS trigger_name, evtevent AS trigger_event, pg_get_functiondef(evtfoid) AS trigger_function_def,
CASE WHEN evtenabled='D' THEN 'Disabled' ELSE 'Enabled' END AS trigger_state
FROM pg_catalog.pg_event_trigger
ORDER BY evtevent, evtname;
Collections
This query belongs to the following collections:
Name
Description
Find problems by overview
Queries that results point to different aspects of database that might have problems. A human reviewer has to decide based on the results as to whether there are problems or not .
Categories
This query is classified under the following categories:
Name
Description
Comfortability of database evolution
Queries of this category provide information about the means that influence database evolution.
Triggers and rules
Queries of this category provide information about triggers and rules in a database.