Rearrange heap_beginscan to eliminate extra call on mdnblocks.  Bad enough it does an lseek, but to do it twice for no reason...
Rearrange heap_beginscan to eliminate extra call on
mdnblocks.  Bad enough it does an lseek, but to do it twice for no
reason...

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