tww
.tww_app
Tables
(current)
Columns
Constraints
Relationships
Orphan Tables
Anomalies
Routines
check_modification_enabled()
Parameters
Name
Type
Mode
IN
Definition
DECLARE _disabled_count numeric; BEGIN SELECT count(*) into _disabled_count FROM pg_trigger t INNER JOIN pg_class c on t.tgrelid=c.oid INNER JOIN pg_proc p on t.tgfoid=p.oid WHERE p.proname LIKE 'modification_%' AND p.pronamespace::regnamespace::text = 'tww_app' AND t.tgenabled = 'D'; RETURN _disabled_count=0; END;