May 17, 2026, 11:40 PM
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
SELECT c.relname as table,
|
||||
t.tgname as tg_name,
|
||||
p.proname as tg_function
|
||||
FROM pg_proc p
|
||||
JOIN pg_trigger t ON (t.tgfoid = p.oid)
|
||||
JOIN pg_class c ON (c.oid = t.tgrelid)
|
||||
WHERE prosrc LIKE ('%<table>%')
|
||||
ORDER BY c.relname;
|
||||
|
||||
Reference in New Issue
Block a user