Some old cleanup fixes for close_ps() from G. Thaker.
Some old cleanup fixes for close_ps() from G. Thaker.

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