[Bug 247736] [NEW] Please backport python-psycopg2 from Intrepid to hardy

George Kappel george.kappel at gmail.com
Fri Jul 11 23:19:51 BST 2008


Public bug reported:

Hardy has version 2.06, Intrepid has version 2.0.7 with the indicated
memory leaks and threading issues fixed

# Better selection of exceptions based on the SQLSTATE result field.  This causes a number of errors that were reported as ProgrammingError to use a more appropriate exception (e.g. DataError, OperationalError, InternalError).  This was the change that broke Storm’s test suite as it was checking for ProgrammingError on some queries that were clearly not programming errors.
# Proper error reporting for commit() and rollback(). These methods now use the same error reporting code paths as execute(), so an integrity error on commit() will now raise IntegrityError rather than OperationalError.
# The compile-time switch that controls whether the display_size member of Cursor.description is calculated is now turned off by default.  The code was quite expensive and the field is of limited use (and not provided by a number of other database adapters).
# New QueryCanceledError and TransactionRollbackError exceptions.  The first is useful for handling queries that are canceled by statement_timeout.  The second provides a convenient way to catch serialisation failures and deadlocks: errors that indicate the transaction should be retried.
# Fixes for a few memory leaks and GIL misuses. One of the leaks was in the notice processing code that could be particularly problematic for long-running daemon processes.

** Affects: hardy-backports
     Importance: Undecided
         Status: New

-- 
Please backport python-psycopg2 from Intrepid to hardy
https://bugs.launchpad.net/bugs/247736
You received this bug notification because you are a member of Ubuntu
Backports Testing Team, which is subscribed to Hardy Backports.



More information about the ubuntu-backports mailing list