changed connection parameters to use dsn string rather than keyword argument to enable all libpq options