diff --git a/src/backend/distributed/commands/dependencies.c b/src/backend/distributed/commands/dependencies.c index 732d10409..c15f9fba4 100644 --- a/src/backend/distributed/commands/dependencies.c +++ b/src/backend/distributed/commands/dependencies.c @@ -468,11 +468,17 @@ GetDependencyCreateDDLCommands(const ObjectAddress *dependency) /*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); */ - /* } */ + + /* 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; }