python - be: Use getattro instead of getattr.

From: jwp(at)pgfoundry(dot)org (James William Pye)
To: pgsql-committers(at)postgresql(dot)org
Subject: python - be: Use getattro instead of getattr.
Date: 2007-04-30 01:50:25
Message-ID: 20070430015026.0198C216DDC@pgfoundry.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Use getattro instead of getattr.

Fixes bug where attributes are not fetched properly. ie, Transaction.__call__
was failing because the generic getattr was not being called.

Modified Files:
--------------
be/src:
xact.c (r1.2 -> r1.3)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/be/src/xact.c.diff?r1=1.2&r2=1.3)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2007-04-30 03:23:50 pgsql: Implement rate-limiting logic on how often backends will attempt
Previous Message Tom Lane 2007-04-30 00:16:43 pgsql: Marginal performance hack: use a dedicated routine instead of