python - be: Fix Query allocation issue. - Mailing list pgsql-committers

From jwp@pgfoundry.org (James William Pye)
Subject python - be: Fix Query allocation issue.
Date
Msg-id 20060227021803.A2D121033863@pgfoundry.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
Fix Query allocation issue.

Some of Python's reference tracing utilities take offense to how I was freeing
the structure when an exception occurred. So refactor the code a bit to reduce
my rudeness. (Only allocate when successful, probably better idea anyways.)

Modified Files:
--------------
    be/src:
        call.c (r1.13 -> r1.14)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/be/src/call.c.diff?r1=1.13&r2=1.14)
        module.c (r1.26 -> r1.27)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/be/src/module.c.diff?r1=1.26&r2=1.27)
        query.c (r1.19 -> r1.20)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/be/src/query.c.diff?r1=1.19&r2=1.20)
    be/include/pypg:
        cis.h (r1.10 -> r1.11)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/be/include/pypg/cis.h.diff?r1=1.10&r2=1.11)
        query.h (r1.9 -> r1.10)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/be/include/pypg/query.h.diff?r1=1.9&r2=1.10)

pgsql-committers by date:

Previous
From: jwp@pgfoundry.org (James William Pye)
Date:
Subject: python - be: Minor refactoring.
Next
From: jwp@pgfoundry.org (James William Pye)
Date:
Subject: python - be: Add tests to validate the use of in session replacements.