pl=# select * from pg_trigger where tgrelid=438094756 or tgfoid=438094756 or tgconstrrelid=438094756; tgrelid | tgname | tgfoid | tgtype | tgenabled | tgisconstraint | tgconstrname | tgconstrrelid | tgdeferrable | tginitdeferred | tgnargs | tgattr | tgargs -----------+--------------------------------+-----------+--------+-----------+----------------+--------------+---------------+--------------+----------------+---------+--------+------------------------------------------------------------------------------------------------------ 438094756 | _T1_denyaccess_51 | 438099997 | 31 | t | f | | 0 | f | f | 1 | | _T1\000 694764767 | RI_ConstraintTrigger_694764778 | 1644 | 21 | t | t | $3 | 438094756 | f | f | 6 | | $3\000pl_batch_search_table\000pl02_status_table\000UNSPECIFIED\000status\000status_id\000 438095547 | RI_ConstraintTrigger_438096078 | 1644 | 21 | t | t | status_id_fk | 438094756 | f | f | 6 | | status_id_fk\000pl02_rfq_table\000pl02_status_table\000UNSPECIFIED\000status_id\000status_id\000 438095488 | RI_ConstraintTrigger_438095994 | 1644 | 21 | t | t | $1 | 438094756 | f | f | 6 | | $1\000pl_inventory_evaluator_files\000pl02_status_table\000UNSPECIFIED\000status_id\000status_id\000(4 rows)