python - be: Use get_attro and fill in members structure.

From: jwp(at)pgfoundry(dot)org (James William Pye)
To: pgsql-committers(at)postgresql(dot)org
Subject: python - be: Use get_attro and fill in members structure.
Date: 2005-04-24 01:03:14
Message-ID: 20050424010314.0B99E1FB77C0@pgfoundry.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Use get_attro and fill in members structure.
Change PyHT's tuple descriptor accessor from 'desc' to 'TupleDesc'(like Pg.Type)
Member entries are "virtual" as get_attro will grab them before it would ever
get to GenericGetAttro.
Disallow HT creation if the arg count in tupd_call is not equal to td->natts(no
segfaults? yes please.)

Modified Files:
--------------
be/include/pypg:
heaptuple.h (r1.2 -> r1.3)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/be/include/pypg/heaptuple.h.diff?r1=1.2&r2=1.3)
postgres.h (r1.3 -> r1.4)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/be/include/pypg/postgres.h.diff?r1=1.3&r2=1.4)
be/src:
heaptuple.c (r1.3 -> r1.4)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/be/src/heaptuple.c.diff?r1=1.3&r2=1.4)
tupledesc.c (r1.4 -> r1.5)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/be/src/tupledesc.c.diff?r1=1.4&r2=1.5)

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2005-04-24 03:51:49 pgsql: Update VACUUM VERBOSE FSM message, per Tom.
Previous Message User Kimhanse 2005-04-24 00:08:24 tablelog - tablelog: Written a restore view creating function in plpgsql