Skip eval_const_expressions when the query is such that the expression would be evaluated only once anyway (ie, it's just a SELECT with no FROM or an INSERT ... VALUES).  The planner can't do it any faster than the executor, so no point in an extra copying of the expression tree.
Skip eval_const_expressions when the query is such that the expression
would be evaluated only once anyway (ie, it's just a SELECT with no
FROM or an INSERT ... VALUES).  The planner can't do it any faster than
the executor, so no point in an extra copying of the expression tree.

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