Add an Assert that indexam.c isn't used on an index awaiting reindexing.
Add an Assert that indexam.c isn't used on an index awaiting reindexing.

This might have caught the recent embarrassment over trying to modify
pg_index while its indexes were being rebuilt.

Noah Misch

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