Add dependencies on control and sql functions when an extension is created via cascade. Previously these dependencies were recorded only for the top-level extension. This PR moves this logic to CreateExtensionInternal where it is run for each cascading TLE.
Issue #, if available: #228
Description of changes:
Add dependencies on control and sql functions when an extension is created via cascade. Previously these dependencies were recorded only for the top-level extension. This PR moves this logic to CreateExtensionInternal where it is run for each cascading TLE.
Running the scenario reported in #228:
ofoo
(which is created through cascading fromobar
) has dependencies recorded correctly on its control and sql functions.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.