Thread: python - be: Bug squishing in utils and tupledesc.

python - be: Bug squishing in utils and tupledesc.

From
jwp@pgfoundry.org (James William Pye)
Date:
Log Message:
-----------
Bug squishing in utils and tupledesc. Assert valid Oids where assumed. Fix
TupleDesc.__getitem__. In utils.c, only lookup the Relation's TypeOid if
t_tableOid is valid; set the TypeId to RECORDOID if it was invalid.

Modified Files:
--------------
    be/src:
        utils.c (r1.10 -> r1.11)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/be/src/utils.c.diff?r1=1.10&r2=1.11)
        tupledesc.c (r1.6 -> r1.7)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/be/src/tupledesc.c.diff?r1=1.6&r2=1.7)