python - be: Fix a bug with send method invocations on iterators. - Mailing list pgsql-committers

From jwp@pgfoundry.org (James William Pye)
Subject python - be: Fix a bug with send method invocations on iterators.
Date
Msg-id 20070430034332.EAF30216DDC@pgfoundry.org
Whole thread Raw
List 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)

pgsql-committers by date:

Previous
From: jwp@pgfoundry.org (James William Pye)
Date:
Subject: python - be: Add a small comment to call_call and simplify a condition.
Next
From: dpage@pgfoundry.org (User Dpage)
Date:
Subject: pginstaller - pginst: Fixup indents.