- Issued:
- 2013-02-20
- Updated:
- 2013-02-20
RHBA-2013:0327 - python-psycopg2 bug fix and enhancement update
Synopsis
python-psycopg2 bug fix and enhancement update
Type/Severity
Bug Fix Advisory (none)
Topic
Updated python-psycopg2 packages that fix multiple bugs and add various enhancements are now available for Red Hat Enterprise Linux 6.
Description
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.
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)
This update also fixes the following bugs:
-
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#711095)
-
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. (BZ#843723)
All users of psycopg2 are advised to upgrade to these updated packages, which fix these bugs and add these enhancements.
Solution
Before applying this update, make sure all previously-released errata relevant to your system have been applied.
This update is available via the Red Hat Network. Details on how to use the Red Hat Network to apply this update are available at https://access.redhat.com/knowledge/articles/11258
Affected Products
| Product | Version | Arch |
|---|---|---|
| Red Hat Enterprise Linux for Scientific Computing | 6 | x86_64 |
| Red Hat Enterprise Linux for Power, big endian | 6 | ppc64 |
| Red Hat Enterprise Linux for IBM z Systems | 6 | s390x |
| Red Hat Enterprise Linux Workstation | 6 | x86_64 |
| Red Hat Enterprise Linux Workstation | 6 | i386 |
| Red Hat Enterprise Linux Server | 6 | x86_64 |
| Red Hat Enterprise Linux Server | 6 | i386 |
| Red Hat Enterprise Linux Server from RHUI | 6 | x86_64 |
| Red Hat Enterprise Linux Server from RHUI | 6 | i386 |
| Red Hat Enterprise Linux Server - Retired Extended Life Cycle Support | 6 | x86_64 |
| Red Hat Enterprise Linux Server - Extended Life Cycle Support | 6 | x86_64 |
| Red Hat Enterprise Linux Server - Extended Life Cycle Support | 6 | i386 |
| Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension | 6 | x86_64 |
| Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension | 6 | i386 |
| Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension (for IBM z Systems) | 6 | s390x |
| Red Hat Enterprise Linux Server - Extended Life Cycle Support (for IBM z Systems) | 6 | s390x |
Updated Packages
- python-psycopg2-doc-2.0.14-2.el6.i686.rpm
- python-psycopg2-2.0.14-2.el6.s390x.rpm
- python-psycopg2-debuginfo-2.0.14-2.el6.s390x.rpm
- python-psycopg2-2.0.14-2.el6.i686.rpm
- python-psycopg2-2.0.14-2.el6.ppc64.rpm
- python-psycopg2-debuginfo-2.0.14-2.el6.ppc64.rpm
- python-psycopg2-2.0.14-2.el6.src.rpm
- python-psycopg2-doc-2.0.14-2.el6.s390x.rpm
- python-psycopg2-debuginfo-2.0.14-2.el6.x86_64.rpm
- python-psycopg2-doc-2.0.14-2.el6.x86_64.rpm
- python-psycopg2-2.0.14-2.el6.x86_64.rpm
- python-psycopg2-doc-2.0.14-2.el6.ppc64.rpm
- python-psycopg2-debuginfo-2.0.14-2.el6.i686.rpm
Fixes
- This content is not included.BZ - 711095
- This content is not included.BZ - 765998
- This content is not included.BZ - 843723
CVEs
(none)
References
(none)
Additional information
- The Red Hat security contact is This content is not included.secalert@redhat.com. More contact details at https://access.redhat.com/security/team/contact/.
- Offline Security Data data is available for integration with other systems. See Offline Security Data API to get started.