Rewrite preprocess_targetlist() to reduce overhead for simple INSERTs. In particular, don't bother to look up type information for attributes where we're not actually going to use it, and avoid copying entire tlist structure when it's not necessary.
Rewrite preprocess_targetlist() to reduce overhead for simple INSERTs.
In particular, don't bother to look up type information for attributes
where we're not actually going to use it, and avoid copying entire tlist
structure when it's not necessary.

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