Planner wasn't correctly handling adjustment of tuple_fraction for the case of LIMIT in a sub-select.
Planner wasn't correctly handling adjustment of tuple_fraction for the
case of LIMIT in a sub-select.

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