Add new vpl_num_allocated_pages member to VPageListData. It will keep track the number of pages allocated so that vacuum could allocate twice of the previous allocation. This will greatly reduce the total memory consumption of vacuum.
Add new vpl_num_allocated_pages member to VPageListData.
It will keep track the number of pages allocated so that
vacuum could allocate twice of the previous allocation.
This will greatly reduce the total memory consumption of
vacuum.

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