Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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)

pgsql-committers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group