remove_restricted_role_grants

Function remove_restricted_role_grants 

Source
pub fn remove_restricted_role_grants(path: &str) -> Result<()>
Expand description

Comments out GRANT statements for roles that are restricted on managed services.

AWS RDS and other managed services may prevent granting certain default roles like pg_checkpoint. This function comments out those statements to allow the globals restore to proceed without permission errors.