Make the system-attributes loop in AddNewAttributeTuples depend on lengthof(SysAtt) not FirstLowInvalidHeapAttributeNumber, for consistency with the other uses of the SysAtt array, and to make it clearer that it doesn't walk off the end of that array.
Make the system-attributes loop in AddNewAttributeTuples depend on
lengthof(SysAtt) not FirstLowInvalidHeapAttributeNumber, for consistency with
the other uses of the SysAtt array, and to make it clearer that it doesn't
walk off the end of that array.

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