remove_restricted_guc_settings

Function remove_restricted_guc_settings 

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

Removes parameter settings that require superuser privileges (e.g. log_statement).

AWS RDS prevents standard replication roles from altering certain GUCs via ALTER ROLE ... SET. Each offending line is commented out so psql skips them without aborting the rest of the globals restore.