Be a little smarter in group_clauses_by_indexkey_for_join: detect cases where a joinclause is redundant with a restriction clause.  Original coding believed this was impossible and didn't need to be checked for, but that was a thinko ...
Be a little smarter in group_clauses_by_indexkey_for_join: detect cases
where a joinclause is redundant with a restriction clause.  Original coding
believed this was impossible and didn't need to be checked for, but that
was a thinko ...

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