Fix set_session cannot be used inside a transaction when using dsn. Connect #664.
Fix set_session cannot be used inside a transaction when using dsn. Connect #664.

koljonen/pgcli,dbcli/pgcli,dbcli/pgcli,koljonen/pgcli