I have a aged and redundant schema that I want to drop. Running DROP USER old_schema CASCADE
runs succesfully and it's dropped.
How can I find out whether dropping this schema results in other components in the database (under different schemas) possible breaking?
I have written tests to make sure all the components that interfaced with this schema's procedures and types (which were the only objects in this schema) are functional (and have been superseded and phased out in the release), but I was wondering if there was a way (native or otherwise) to know if there are any object that still link to this schema.
Ideally, I was hoping for some plugin / utility / SQL-snippet that will check all the links to/from your schema and list the dependencies/dependents to:
- confirm the information I believe to be correct
- manually action, any that I may have missed
EDIT 01:
A fleeting comment (was deleted promptly) mentioned something about INVALID OBJECTS - can anyone extrapolate on this?