此内容没有您所选择的语言版本。
7.196. python-psycopg2
Updated python-psycopg2 packages that fix multiple bugs and add various enhancements are now available for Red Hat Enterprise Linux 6.
The python-psycopg2 packages provide a PostgreSQL database adapter for the Python programming language (like pygresql and popy). The main advantages of psycopg2 are that it supports the full Python DBAPI-2.0 and that it is thread safe at level 2.
Note
The python-psycopg2 packages have been upgraded to upstream version 2.0.14, which provides a number of bug fixes and enhancements over the previous version, including the fix for a memory leak in cursor handling. This update also ensures better compatibility with the PostgreSQL object-relational database management system version 8.4. (BZ#765998)
Bug Fixes
- BZ#711095
- Prior to this update, a copy operation terminated unexpectedly if a second thread in a single application triggered the Python garbage collection while the copy operation was in progress. This update adds the appropriate object reference count adjustments to the code.
- BZ#843723
- Prior to this update, object reference counting could, under certain circumstances, cause assertion failures in Python. This update modifies the underlying code to avoid these failures.
All users of psycopg2 are advised to upgrade to these updated packages, which fix these bugs and add these enhancements.