Dept of second thoughts: let's make sure that get_index_stats_hook is only applied to expression indexes, not to plain relations.  The original coding in btcostestimate conflated the two cases, but it's not hard to use get_relation_stats_hook instead when we're looking to the underlying relation.
Dept of second thoughts: let's make sure that get_index_stats_hook is only
applied to expression indexes, not to plain relations.  The original coding
in btcostestimate conflated the two cases, but it's not hard to use
get_relation_stats_hook instead when we're looking to the underlying relation.

yazun/postgres-xl,Chibin/gpdb,edespino/gpdb,ashwinstar/gpdb,50wu/gpdb,ashwinstar/gpdb,Chibin/gpdb,postmind-net/postgres-xl,50wu/gpdb,yazun/postgres-xl,postmind-net/postgres-xl,lisakowen/gpdb,adam8157/gpdb,arcivanov/postgres-xl,arcivanov/postgres-xl,oberstet/postgres-xl,jmcatamney/gpdb,techdragon/Postgres-XL,jmcatamney/gpdb,zeroae/postgres-xl,50wu/gpdb,kmjungersen/PostgresXL,jmcatamney/gpdb,adam8157/gpdb,edespino/gpdb,greenplum-db/gpdb,Chibin/gpdb,tpostgres-projects/tPostgres,jmcatamney/gpdb,Postgres-XL/Postgres-XL,snaga/postgres-xl,edespino/gpdb,edespino/gpdb,edespino/gpdb,yuanzhao/gpdb,adam8157/gpdb,Chibin/gpdb,kmjungersen/PostgresXL,jmcatamney/gpdb,kmjungersen/PostgresXL,greenplum-db/gpdb,Chibin/gpdb,oberstet/postgres-xl,edespino/gpdb,tpostgres-projects/tPostgres,xinzweb/gpdb,pavanvd/postgres-xl,edespino/gpdb,kmjungersen/PostgresXL,edespino/gpdb,tpostgres-projects/tPostgres,xinzweb/gpdb,Postgres-XL/Postgres-XL,adam8157/gpdb,lisakowen/gpdb,ashwinstar/gpdb,pavanvd/postgres-xl,lisakowen/gpdb,lisakowen/gpdb,50wu/gpdb,yazun/postgres-xl,jmcatamney/gpdb,arcivanov/postgres-xl,snaga/postgres-xl,zeroae/postgres-xl,edespino/gpdb,ovr/postgres-xl,Postgres-XL/Postgres-XL,edespino/gpdb,techdragon/Postgres-XL,adam8157/gpdb,jmcatamney/gpdb,yuanzhao/gpdb,postmind-net/postgres-xl,zeroae/postgres-xl,greenplum-db/gpdb,adam8157/gpdb,tpostgres-projects/tPostgres,oberstet/postgres-xl,snaga/postgres-xl,xinzweb/gpdb,xinzweb/gpdb,greenplum-db/gpdb,Chibin/gpdb,ovr/postgres-xl,techdragon/Postgres-XL,adam8157/gpdb,yuanzhao/gpdb,greenplum-db/gpdb,yuanzhao/gpdb,ashwinstar/gpdb,ovr/postgres-xl,ashwinstar/gpdb,techdragon/Postgres-XL,xinzweb/gpdb,Postgres-XL/Postgres-XL,Chibin/gpdb,arcivanov/postgres-xl,snaga/postgres-xl,oberstet/postgres-xl,kmjungersen/PostgresXL,lisakowen/gpdb,50wu/gpdb,50wu/gpdb,zeroae/postgres-xl,arcivanov/postgres-xl,greenplum-db/gpdb,yazun/postgres-xl,50wu/gpdb,ashwinstar/gpdb,postmind-net/postgres-xl,yuanzhao/gpdb,yuanzhao/gpdb,Postgres-XL/Postgres-XL,lisakowen/gpdb,Chibin/gpdb,pavanvd/postgres-xl,adam8157/gpdb,yuanzhao/gpdb,lisakowen/gpdb,lisakowen/gpdb,arcivanov/postgres-xl,ashwinstar/gpdb,greenplum-db/gpdb,techdragon/Postgres-XL,snaga/postgres-xl,jmcatamney/gpdb,yuanzhao/gpdb,ovr/postgres-xl,oberstet/postgres-xl,50wu/gpdb,postmind-net/postgres-xl,ovr/postgres-xl,tpostgres-projects/tPostgres,Chibin/gpdb,zeroae/postgres-xl,pavanvd/postgres-xl,yuanzhao/gpdb,ashwinstar/gpdb,xinzweb/gpdb,Chibin/gpdb,yazun/postgres-xl,greenplum-db/gpdb,pavanvd/postgres-xl,xinzweb/gpdb,yuanzhao/gpdb,xinzweb/gpdb