Tweak planner to use OFFSET+LIMIT, not just LIMIT, as estimate of the portion of the query result that will be retrieved.  As far as I could tell, the consensus was that we should let the planner do the best it can with a LIMIT query, and require the user to add ORDER BY if he wants consistent results from different LIMIT values.
Tweak planner to use OFFSET+LIMIT, not just LIMIT, as estimate of the
portion of the query result that will be retrieved.  As far as I could
tell, the consensus was that we should let the planner do the best it
can with a LIMIT query, and require the user to add ORDER BY if he
wants consistent results from different LIMIT values.

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