Don't explicitly close() the session socket during backend exit; instead leave it for the kernel to do after the process dies.  This allows clients to wait for the backend to exit if they wish (after sending X message, wait till EOF is detected on the socket).
Don't explicitly close() the session socket during backend exit; instead
leave it for the kernel to do after the process dies.  This allows clients
to wait for the backend to exit if they wish (after sending X message,
wait till EOF is detected on the socket).

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