python - be: Fix a bug with send method invocations on iterators.

From: jwp(at)pgfoundry(dot)org (James William Pye)
To: pgsql-committers(at)postgresql(dot)org
Subject: python - be: Fix a bug with send method invocations on iterators.
Date: 2007-04-30 03:43:32
Message-ID: 20070430034332.EAF30216DDC@pgfoundry.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Fix a bug with send method invocations on iterators.

The returned object was not being coerced through the call's output. This leads
to the attempt to get a type cache entry on an arbitrary python type. Of
course, only the Postgres types have the entries available, so this would
normally result in a pointer to an invalid memory address.

Modified Files:
--------------
be/src:
pl.c (r1.45 -> r1.46)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/be/src/pl.c.diff?r1=1.45&r2=1.46)

Browse pgsql-committers by date

  From Date Subject
Next Message User Dpage 2007-04-30 09:33:47 pginstaller - pginst: Fixup indents.
Previous Message James William Pye 2007-04-30 03:36:23 python - be: Add a small comment to call_call and simplify a condition.