Psycopg 2.4.4 released

Posted by Daniele Varrazzo on December 19, 2011
Tagged as news, release

After a short discussion on this list we decided to change the definitions of isolation levels to make sure old code using numeric constants (both psycopg1 and psycopg2) continue to works. Other small fixes are included in the release: see below for details.

What's new in psycopg 2.4.4

  • register_composite() also works with the types implicitly defined after a table row, not only with the ones created by CREATE TYPE.
  • Values for the isolation level symbolic constants restored to what they were before release 2.4.2 to avoid breaking apps using the values instead of the constants.
  • Named DictCursor/RealDictCursor honour itersize (ticket #80).
  • Fixed rollback on error on Zope (ticket #73).
  • Raise DatabaseError instead of Error with empty libpq errors, consistently with other disconnection-related errors: regression introduced in release 2.4.1 (ticket #82).

Comments (2 posted).

Comment #1
Denis Ignatenko
Feb. 8, 2012, 12:17 p.m.

Please add to setup.py :

from setuptools import setup

to make python eggs

Comment #2
Daniele Varrazzo
Feb. 8, 2012, 1:10 p.m.

Psycopg doesn't depend on setuptools.

We could try to make it an optional import though: if import fails fall back on distutils.

Feel free to submit a patch to the bug tracker.

Feel free to add a new comment. You can use reST syntax.