Don't assume PQdb() will return a valid result from a failed connection.
Don't assume PQdb() will return a valid result from a failed connection.

xuegang/gpdb,rvs/gpdb,xinzweb/gpdb,CraigHarris/gpdb,Quikling/gpdb,postmind-net/postgres-xl,snaga/postgres-xl,yuanzhao/gpdb,Chibin/gpdb,royc1/gpdb,Chibin/gpdb,foyzur/gpdb,50wu/gpdb,lpetrov-pivotal/gpdb,tpostgres-projects/tPostgres,greenplum-db/gpdb,cjcjameson/gpdb,ahachete/gpdb,foyzur/gpdb,jmcatamney/gpdb,janebeckman/gpdb,ashwinstar/gpdb,zeroae/postgres-xl,greenplum-db/gpdb,lisakowen/gpdb,kaknikhil/gpdb,ashwinstar/gpdb,edespino/gpdb,pavanvd/postgres-xl,arcivanov/postgres-xl,yazun/postgres-xl,zaksoup/gpdb,greenplum-db/gpdb,lpetrov-pivotal/gpdb,xinzweb/gpdb,oberstet/postgres-xl,Quikling/gpdb,rvs/gpdb,zaksoup/gpdb,ahachete/gpdb,cjcjameson/gpdb,lintzc/gpdb,yazun/postgres-xl,adam8157/gpdb,xinzweb/gpdb,Quikling/gpdb,edespino/gpdb,zeroae/postgres-xl,royc1/gpdb,xuegang/gpdb,greenplum-db/gpdb,ahachete/gpdb,tpostgres-projects/tPostgres,tpostgres-projects/tPostgres,xuegang/gpdb,rubikloud/gpdb,zaksoup/gpdb,Quikling/gpdb,Postgres-XL/Postgres-XL,randomtask1155/gpdb,Quikling/gpdb,Chibin/gpdb,kaknikhil/gpdb,lisakowen/gpdb,cjcjameson/gpdb,adam8157/gpdb,atris/gpdb,ahachete/gpdb,janebeckman/gpdb,ovr/postgres-xl,cjcjameson/gpdb,lpetrov-pivotal/gpdb,foyzur/gpdb,zaksoup/gpdb,pavanvd/postgres-xl,Chibin/gpdb,arcivanov/postgres-xl,ahachete/gpdb,snaga/postgres-xl,zaksoup/gpdb,rubikloud/gpdb,Postgres-XL/Postgres-XL,tpostgres-projects/tPostgres,pavanvd/postgres-xl,chrishajas/gpdb,adam8157/gpdb,rubikloud/gpdb,lintzc/gpdb,yuanzhao/gpdb,Postgres-XL/Postgres-XL,adam8157/gpdb,postmind-net/postgres-xl,janebeckman/gpdb,greenplum-db/gpdb,tangp3/gpdb,50wu/gpdb,janebeckman/gpdb,yuanzhao/gpdb,ashwinstar/gpdb,zeroae/postgres-xl,edespino/gpdb,xuegang/gpdb,kaknikhil/gpdb,kmjungersen/PostgresXL,CraigHarris/gpdb,cjcjameson/gpdb,atris/gpdb,lisakowen/gpdb,xinzweb/gpdb,greenplum-db/gpdb,tangp3/gpdb,techdragon/Postgres-XL,rubikloud/gpdb,foyzur/gpdb,xinzweb/gpdb,rubikloud/gpdb,techdragon/Postgres-XL,zaksoup/gpdb,jmcatamney/gpdb,cjcjameson/gpdb,Quikling/gpdb,arcivanov/postgres-xl,xinzweb/gpdb,50wu/gpdb,ashwinstar/gpdb,lintzc/gpdb,janebeckman/gpdb,atris/gpdb,lisakowen/gpdb,snaga/postgres-xl,tangp3/gpdb,jmcatamney/gpdb,Quikling/gpdb,lpetrov-pivotal/gpdb,janebeckman/gpdb,lintzc/gpdb,jmcatamney/gpdb,50wu/gpdb,Chibin/gpdb,chrishajas/gpdb,kmjungersen/PostgresXL,rvs/gpdb,atris/gpdb,yuanzhao/gpdb,lpetrov-pivotal/gpdb,randomtask1155/gpdb,xuegang/gpdb,atris/gpdb,greenplum-db/gpdb,chrishajas/gpdb,royc1/gpdb,randomtask1155/gpdb,kmjungersen/PostgresXL,CraigHarris/gpdb,oberstet/postgres-xl,postmind-net/postgres-xl,pavanvd/postgres-xl,foyzur/gpdb,techdragon/Postgres-XL,lpetrov-pivotal/gpdb,0x0FFF/gpdb,chrishajas/gpdb,Chibin/gpdb,yazun/postgres-xl,ashwinstar/gpdb,Quikling/gpdb,randomtask1155/gpdb,chrishajas/gpdb,jmcatamney/gpdb,zaksoup/gpdb,lisakowen/gpdb,oberstet/postgres-xl,0x0FFF/gpdb,atris/gpdb,xinzweb/gpdb,kaknikhil/gpdb,50wu/gpdb,chrishajas/gpdb,lisakowen/gpdb,0x0FFF/gpdb,cjcjameson/gpdb,rvs/gpdb,techdragon/Postgres-XL,edespino/gpdb,rvs/gpdb,Chibin/gpdb,edespino/gpdb,tangp3/gpdb,tangp3/gpdb,CraigHarris/gpdb,CraigHarris/gpdb,lpetrov-pivotal/gpdb,foyzur/gpdb,tangp3/gpdb,chrishajas/gpdb,lintzc/gpdb,0x0FFF/gpdb,rubikloud/gpdb,tangp3/gpdb,Chibin/gpdb,CraigHarris/gpdb,rvs/gpdb,yuanzhao/gpdb,ovr/postgres-xl,rvs/gpdb,Quikling/gpdb,yuanzhao/gpdb,CraigHarris/gpdb,ovr/postgres-xl,edespino/gpdb,Chibin/gpdb,rubikloud/gpdb,xuegang/gpdb,foyzur/gpdb,yazun/postgres-xl,cjcjameson/gpdb,randomtask1155/gpdb,Chibin/gpdb,kmjungersen/PostgresXL,lintzc/gpdb,atris/gpdb,adam8157/gpdb,oberstet/postgres-xl,kaknikhil/gpdb,royc1/gpdb,edespino/gpdb,kaknikhil/gpdb,ashwinstar/gpdb,ahachete/gpdb,tpostgres-projects/tPostgres,xuegang/gpdb,50wu/gpdb,postmind-net/postgres-xl,atris/gpdb,royc1/gpdb,Postgres-XL/Postgres-XL,ahachete/gpdb,ashwinstar/gpdb,xuegang/gpdb,50wu/gpdb,royc1/gpdb,50wu/gpdb,yuanzhao/gpdb,chrishajas/gpdb,kaknikhil/gpdb,jmcatamney/gpdb,lintzc/gpdb,xuegang/gpdb,ahachete/gpdb,tangp3/gpdb,foyzur/gpdb,snaga/postgres-xl,zeroae/postgres-xl,jmcatamney/gpdb,kaknikhil/gpdb,pavanvd/postgres-xl,lisakowen/gpdb,rvs/gpdb,yuanzhao/gpdb,0x0FFF/gpdb,zaksoup/gpdb,janebeckman/gpdb,techdragon/Postgres-XL,janebeckman/gpdb,yazun/postgres-xl,rvs/gpdb,Postgres-XL/Postgres-XL,randomtask1155/gpdb,yuanzhao/gpdb,postmind-net/postgres-xl,royc1/gpdb,zeroae/postgres-xl,ashwinstar/gpdb,lpetrov-pivotal/gpdb,arcivanov/postgres-xl,rvs/gpdb,greenplum-db/gpdb,edespino/gpdb,xinzweb/gpdb,edespino/gpdb,0x0FFF/gpdb,jmcatamney/gpdb,0x0FFF/gpdb,CraigHarris/gpdb,lintzc/gpdb,edespino/gpdb,rubikloud/gpdb,lintzc/gpdb,janebeckman/gpdb,cjcjameson/gpdb,oberstet/postgres-xl,CraigHarris/gpdb,kaknikhil/gpdb,ovr/postgres-xl,ovr/postgres-xl,snaga/postgres-xl,randomtask1155/gpdb,randomtask1155/gpdb,adam8157/gpdb,lisakowen/gpdb,royc1/gpdb,adam8157/gpdb,yuanzhao/gpdb,kaknikhil/gpdb,0x0FFF/gpdb,Quikling/gpdb,cjcjameson/gpdb,adam8157/gpdb,janebeckman/gpdb,arcivanov/postgres-xl,arcivanov/postgres-xl,kmjungersen/PostgresXL