Do not push down quals into subqueries that have LIMIT/OFFSET clauses, since the added qual could change the set of rows that get past the LIMIT.  Per discussion on pgsql-sql 7/15/01.
Do not push down quals into subqueries that have LIMIT/OFFSET clauses,
since the added qual could change the set of rows that get past the
LIMIT.  Per discussion on pgsql-sql 7/15/01.

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