Adds GUC check for db grant sync

pull/7240/head
gindibay 2023-11-15 20:45:13 +03:00
parent 11e7c94e2f
commit 144ede3bf0
1 changed files with 3 additions and 1 deletions

View File

@ -4741,7 +4741,9 @@ SyncDistributedObjects(MetadataSyncContext *context)
* After creation of databases and roles, send the grant database commands
* to the workers.
*/
SendDatabaseGrantSyncCommands(context);
if (EnableCreateDatabasePropagation){
SendDatabaseGrantSyncCommands(context);
}
}