Adjust hash table sizing algorithm to avoid integer overflow in ExecHashJoinGetBatch().  Fixes core dump on large hash joins, as in example from Rae Stiening.
Adjust hash table sizing algorithm to avoid integer overflow in
ExecHashJoinGetBatch().  Fixes core dump on large hash joins, as in
example from Rae Stiening.

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