Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Previously, when creating a table type, the underlying table had a dependency on both the table type and the the role that created it. The DROP OWNED BY <role> command will try to drop the table, and fail because the table depends on the table type. This commit removes the underlying table's dependency on the role, and instead adds a dependency for the table type on the role. This way, DROP OWNED BY <role> will try to drop the table type instead, and succeed in dropping both the table type and the underlying table. Task: BABEL-2706 Author: Zitao Quan <[email protected]> Signed-off-by: Sharu Goel <[email protected]>
- Loading branch information