diff --git a/src/backend/distributed/commands/dependencies.c b/src/backend/distributed/commands/dependencies.c index c15f9fba4..e309ee86c 100644 --- a/src/backend/distributed/commands/dependencies.c +++ b/src/backend/distributed/commands/dependencies.c @@ -466,20 +466,6 @@ GetDependencyCreateDDLCommands(const ObjectAddress *dependency) databaseDDLCommands = list_concat(databaseDDLCommands, ownerDDLCommands); } - /*TODO: To reviewer: Having a code block for dependency makes sense */ - /* However dependency tree is based on pg metadata; which does not reflect */ - - /* actual database dependencies. I added this block just to point out the issue. - */ - - /* - * if(EnableCreateDatabasePropagation){ - * List *dbGrants = GrantOnDatabaseDDLCommands(dependency->objectId); - * databaseDDLCommands = list_concat(databaseDDLCommands, dbGrants); - * - * } - */ - return databaseDDLCommands; }