* Change parsing of postgresql settings Fix #4200 * Add copyright * update postgresql connection string * add tests