How do you get the Postgresql Python 2.3 or above?

David M. Cook davecook at nowhere.net
Tue Feb 3 02:57:06 EST 2004


In article <mailman.1104.1075658556.12720.python-list at python.org>, Benjamin
Arai wrote:

> There is a module that compiles for Python in PostgreSQL that compile
> but it is only for Python 2.2.  How do you make it compile for 2.3?

Use psycopg or pyPgSQL.  The one that comes with Postgres, pygresql, is
out-of-date, though it is supposed to merge with popy at some point.
AFAICT, pygresql can't handle 2.3 Bools, at least I can't figure out how to
do it without converting each time.

http://initd.org/software/initd/psycopg
http://pypgsql.sourceforge.net/

Dave Cook



More information about the Python-list mailing list