Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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)

pgsql-committers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group