pgsql: Make the system-attributes loop in AddNewAttributeTuples depend

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Make the system-attributes loop in AddNewAttributeTuples depend
Date: 2008-10-14 23:27:40
Message-ID: 20081014232740.269197545A4@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
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.

Modified Files:
--------------
pgsql/src/backend/catalog:
heap.c (r1.340 -> r1.341)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/catalog/heap.c?r1=1.340&r2=1.341)

Browse pgsql-committers by date

  From Date Subject
Next Message User Jbcooley 2008-10-15 00:16:59 npgsql - Npgsql2: Create test for boolean literal support in parameters.
Previous Message Tom Lane 2008-10-14 21:47:39 pgsql: Add a defense to prevent storing pseudo-type data into index