Which Python module for PostgreSQL?

Ganesan R rganesan at myrealbox.com
Wed Mar 3 07:09:40 EST 2004


>>>>> "David" == David M Cook <davecook at nowhere.net> writes:

> In article <oueksar0tu.fsf at andlx-anamika.cisco.com>, Ganesan R wrote:
>>> python2.3-pgsql - A Python DB-API 2.0 interface to PostgreSQL v7.x
>>> python2.3-popy - module providing access to PostgreSQL from Python2.3
>>> python2.3-psycopg - Python 2.3 module for PostgreSQL
>>> python2.3-pygresql - PostgreSQL module for Python
>> 
>> I prefer the first one - it's BSD licensed, actively maintained and
>> supported. It's also very compatible with the python SQLite binding which I
>> use regularly.

I was referring to python2.3-pgsql which is the same as pyPgSQL.

> PyGreSQL (the first one), doesn't seem to handle boolean's correctly in
> Python 2.3.  Is there a workaround (aside from translating back and forth
>  before saving)?  This is the version that ships with Red Hat 9.

I presume you meant to say "the last one" :-).

Ganesan

--
Ganesan R




More information about the Python-list mailing list