Generalization to provide more flexibility in postgresql configuration

Removed locale changes