]> granicus.if.org Git - postgresql/commit
> I am backing out this patch. Please resubmit with this corrected. Thanks.
authorBruce Momjian <bruce@momjian.us>
Tue, 19 Mar 2002 02:47:57 +0000 (02:47 +0000)
committerBruce Momjian <bruce@momjian.us>
Tue, 19 Mar 2002 02:47:57 +0000 (02:47 +0000)
commitd3337c6e3f9bca1c98ca8e3de218b0e2a5d2f29d
tree9a481e72810ce10a666df1c47cfb102373c967be
parenta7ade2bb6b85def8deb30e44c56e80d38e9b9614
> 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
src/interfaces/python/pgdb.py