> plpgsq_check can show dependencies https://github.com/okbob/plpgsql_check#dependency-list
That's not exactly what I was looking for, but it's a useful tool that could help me anyway. Thanks!