VACUUM must make sure that a HEAP_MARKED_FOR_UPDATE tuple gets marked as either HEAP_XMAX_COMMITTED or HEAP_XMAX_INVALID once the updating transaction is gone.  Otherwise some other transaction may come along and try to test the commit status of t_xmax later --- which could be after VACUUM has recycled the CLOG status for that xact.  Bug introduced in post-beta4 bug fix.
VACUUM must make sure that a HEAP_MARKED_FOR_UPDATE tuple gets marked
as either HEAP_XMAX_COMMITTED or HEAP_XMAX_INVALID once the updating
transaction is gone.  Otherwise some other transaction may come along
and try to test the commit status of t_xmax later --- which could be
after VACUUM has recycled the CLOG status for that xact.  Bug introduced
in post-beta4 bug fix.

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