Objects named with reserved keywords cause errors
If the target database has objects eg. tables named with reserved keywords the grant/revoke statements for those objects will fail with an error. You could fix this by double-quoting objects in the generate statements so instead of salesforce.order
you would generate "SALESFORCE"."ORDER"
.