Rewrite fix_indxqual_references, which was entirely bogus for multi-scan indexscan plans; it tried to use the same table-to-index attribute mapping for all the scans, even if they used different indexes. It would klugily work as long as OR indexquals never used multikey indexes, but that's not likely to hold up much longer...
Rewrite fix_indxqual_references, which was entirely bogus for
multi-scan indexscan plans; it tried to use the same table-to-index
attribute mapping for all the scans, even if they used different indexes.
It would klugily work as long as OR indexquals never used multikey indexes,
but that's not likely to hold up much longer...

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