]> granicus.if.org Git - postgresql/commit
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)
commitce0fb501d9be8a6d5b0ed47bd036ecf21e4bc189
tree2723e7a17e32bad3f7ca78a75155989feab569f8
parent5b5ee14a4be3a981681df78a8874dd55405009a3
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