| From: | jwp(at)pgfoundry(dot)org (James William Pye) |
|---|---|
| To: | pgsql-committers(at)postgresql(dot)org |
| Subject: | python - be: Fix Query allocation issue. |
| Date: | 2006-02-27 02:18:03 |
| Message-ID: | 20060227021803.A2D121033863@pgfoundry.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | James William Pye | 2006-02-27 04:19:14 | python - be: Add tests to validate the use of in session replacements. |
| Previous Message | James William Pye | 2006-02-27 02:17:49 | python - be: Minor refactoring. |