Stopgap solution for problem reported by Alexey Beschiokov: after doing heap_insert or heap_update, wipe out any extracted fields in the TupleTableSlot containing the tuple, because they might not be valid anymore if tuptoaster.c changed the tuple.  Safe because slot must be in the materialized state, but mighty ugly --- find a better answer!
Stopgap solution for problem reported by Alexey Beschiokov: after
doing heap_insert or heap_update, wipe out any extracted fields in
the TupleTableSlot containing the tuple, because they might not be valid
anymore if tuptoaster.c changed the tuple.  Safe because slot must be
in the materialized state, but mighty ugly --- find a better answer!

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