Re: Version Compatibility

Jason Erickson <[email protected]>
Newsgroups gmane.comp.python.db.psycopg.devel
Message-ID <[email protected]>
On Sun, 27 Dec 2009, ray joseph wrote:

> I would like to know if/what version to use with PostgreSQL 8.4.2.  The 
> Install file with psycopg2 says that it requires PostgreSQL at least 
> v8.0 The download file description 
> (http://stickpeople.com/projects/python/win-psycopg/) has a note saying 
> 8.4.1.
>
> Does the 2.0.13 (For Python 2.6) titled 
> psycopg2-2.0.13.win32-py2.6-pg8.4.1-release.exe work for PostgreSQL 
> 8.4.2 also?
>
> My intent is to use this with Trac and SVN with Apache.
>
> BTW, what is the debug build for?
>
> Thanks,
> Ray


Yes, it will work with 8.4.2.  The PostgreSQL version info is to 
indicate what libpq version win psycopg is built against, for those that 
are interested in such things.

The debug builds sets a DEFINE on the compilation of psycopg2 
(PSYCOPG_DEBUG) that enables the printing of additional information to the 
console if the environment variable PSYCOPG_DEBUG is set.  Useful if 
tracking down a bug in PSYCOPG, and sometimes useful tracking down 
problems in your python database code.  FYI, normally I use the release 
builds and NOT the debug builds since it cuts down a little on unnecessary 
overhead.  Note that on many UNIX like platforms, I believe the debug 
information is sent to stderr.


-jason
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.