Fixes comment on code

pull/7240/head
gindibay 2023-11-15 17:01:42 +03:00
parent bb76a9b4b9
commit 37681eaed0
1 changed files with 11 additions and 5 deletions

View File

@ -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;
}