Make the system-attributes loop in AddNewAttributeTuples depend on
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 14 Oct 2008 23:27:40 +0000 (23:27 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 14 Oct 2008 23:27:40 +0000 (23:27 +0000)
commitaeb343ec9dc90a91292c23eebc556c6b919fe9d8
tree5c010c902929ffb6a7ac62361e77280234a9cf03
parent54394ef043daa38406e8fbcb43c0c73a646a186e
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.
src/backend/catalog/heap.c