Allow pg db host and port to be specified.