Edit db config file for postgresql