postgres config now checked before modification