Dept of second thoughts: the IQ of estimate_array_length() needs to be kept on par with that of scalararraysel(), else estimates that should track might not.  Hence teach it about binary-compatible cases, too.
Dept of second thoughts: the IQ of estimate_array_length() needs to be
kept on par with that of scalararraysel(), else estimates that should
track might not.  Hence teach it about binary-compatible cases, too.

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