> I am backing out this patch. Please resubmit with this corrected. Thanks.

Bruce Momjian <bruce@momjian.us>

Commit: d3337c6e3f9bca1c98ca8e3de218b0e2a5d2f29d
Author: Bruce Momjian <bruce@momjian.us>
Date: 2002-03-19T02:47:57Z
Releases: 7.3.1
> I am backing out this patch.  Please resubmit with this corrected.  Thanks.
>
> I am running Python 1.5.

Therein lies the problem... :)

Since it appears you have the requirement of supporting old python
versions, attached is just the pgdb.py part of the patch (with a fix for
DateTime handling). It has the same functionality but certainly won't be
quite as fast. Given the absence of _PyString_Join in python1.5, it's a
pain to get the C variants working for all versions. The pgdb.py patch
does leaves the hooks in, should someone wish to do the optimization at a
later point.

Elliot Lee

Files

PathChange+/−
src/interfaces/python/pgdb.py modified +34 −26