Jeremy Finzel wrote: > I appreciate that, Melvin. However, this doesn't do the recursive part. > It doesn't show me type or function dependencies, for example: You need a WITH RECURSIVE query ... If you do figure it out, please publish it as in this section of the wiki https://wiki.postgresql.org/wiki/Category:Snippets (In general, it would be good to have lots of contents in Snippets, so feel free to add stuff that you think may be of general usefulness.) -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services