How do you get the Postgresql Python 2.3 or above?

B

Benjamin Arai

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?
 
J

John J. Lee

Benjamin Arai said:
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?

There are several PostgreSQL modules for Python. Which one?

Not that you're likely to get a better answer here than on the
relevant web page or mailing list, mind you...


John
 
G

George Young

There are several PostgreSQL modules for Python. Which one?

Not that you're likely to get a better answer here than on the
relevant web page or mailing list, mind you...

One of the main ones is "PyGreSQL", available from:
ftp://ftp.druid.net/pub/distrib/PyGreSQL.tgz

"""
PyGreSQL is a python module that interfaces to a PostgreSQL database. It
embeds the PostgreSQL query library to allow easy use of the powerful
PostgreSQL features from a Python script.

This release fixes a few bugs, adds a few minor features and makes a
few speedups in the code. It works with Python version 2.3 and PostgreSQL
version 7.3.x
"""
 
D

David M. Cook

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,743
Messages
2,569,478
Members
44,899
Latest member
RodneyMcAu

Latest Threads

Top