Fix the crash when db change fails. Fix #117
Fix the crash when db change fails. Fix #117

TamasNo1/pgcli,w4ngyi/pgcli,bitmonk/pgcli,yx91490/pgcli,TamasNo1/pgcli,johshoff/pgcli,koljonen/pgcli,MattOates/pgcli,joewalnes/pgcli,thedrow/pgcli,janusnic/pgcli,zhiyuanshi/pgcli,n-someya/pgcli,zhiyuanshi/pgcli,yx91490/pgcli,lk1ngaa7/pgcli,bitemyapp/pgcli,d33tah/pgcli,dbcli/pgcli,n-someya/pgcli,thedrow/pgcli,johshoff/pgcli,darikg/pgcli,MattOates/pgcli,dbcli/pgcli,lk1ngaa7/pgcli,dbcli/vcli,dbcli/vcli,joewalnes/pgcli,nosun/pgcli,w4ngyi/pgcli,bitemyapp/pgcli,koljonen/pgcli,janusnic/pgcli,j-bennet/pgcli,bitmonk/pgcli,nosun/pgcli,suzukaze/pgcli,d33tah/pgcli,j-bennet/pgcli,darikg/pgcli,suzukaze/pgcli