plpgsql dependencies

Builds a dependency list of database objects, including objects in
functions.