Fix postgresql settings.