pgsql/src/interfaces/python pgdb.py

From: momjian(at)postgresql(dot)org (Bruce Momjian - CVS)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql/src/interfaces/python pgdb.py
Date: 2002-03-19 02:47:58
Message-ID: 20020319024758.DC8C24758A2@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

CVSROOT: /cvsroot
Module name: pgsql
Changes by: momjian(at)postgresql(dot)org 02/03/18 21:47:58

Modified files:
src/interfaces/python: pgdb.py

Log message:
> 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

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian - CVS 2002-03-19 02:48:46 pgsql/src/interfaces/jdbc/org/postgresql/core ...
Previous Message Bruce Momjian - CVS 2002-03-19 02:32:22 pgsql/ oc/src/sgml/ref/psql-ref.sgml rc/bin/ps ...