- Issued:
- 2013-02-20
- Updated:
- 2013-02-20
RHBA-2013:0327 - Bug Fix Advisory
Synopsis
python-psycopg2 bug fix and enhancement update
Type/Severity
Bug Fix Advisory
Red Hat Insights patch analysis
Identify and remediate systems affected by this advisory.
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
- Red Hat Enterprise Linux Server 6 x86_64
- Red Hat Enterprise Linux Server 6 i386
- Red Hat Enterprise Linux Workstation 6 i386
- Red Hat Enterprise Linux for IBM z Systems 6 s390x
- Red Hat Enterprise Linux for Power, big endian 6 ppc64
- Red Hat Enterprise Linux for Scientific Computing 6 x86_64
- Red Hat Enterprise Linux Server from RHUI 6 x86_64
- Red Hat Enterprise Linux Server from RHUI 6 i386
- 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 Workstation 6 x86_64
- Red Hat Enterprise Linux Server - Extended Life Cycle Support (for IBM z Systems) 6 s390x
- 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
Fixes
- BZ - 711095 - Python garbage collector assertion failure running pq_execute (cursorObject refcount issue)
- BZ - 765998 - reference leak in _mogrify when dict value is referenced more than once
- BZ - 843723 - SIGABRT: Modules/gcmodule.c:275: visit_decref: Assertion > `gc->gc.gc_refs != 0' failed
CVEs
(none)
References
(none)
Red Hat Enterprise Linux Server 6
SRPM | |
---|---|
python-psycopg2-2.0.14-2.el6.src.rpm | SHA-256: c6d6ecd425f0211c57983bf6f46c45be532690c3465950804cab89829797c51b |
x86_64 | |
python-psycopg2-2.0.14-2.el6.x86_64.rpm | SHA-256: a6c7e52dad053d9e06a15d3b507b89fa00bc1fe18b0abc9facc9d9db6dbb8e51 |
python-psycopg2-2.0.14-2.el6.x86_64.rpm | SHA-256: a6c7e52dad053d9e06a15d3b507b89fa00bc1fe18b0abc9facc9d9db6dbb8e51 |
python-psycopg2-debuginfo-2.0.14-2.el6.x86_64.rpm | SHA-256: df484af13a327ed00271c52d9105045d4caf9b67e0449ff5603d9dfe4965b4cf |
python-psycopg2-debuginfo-2.0.14-2.el6.x86_64.rpm | SHA-256: df484af13a327ed00271c52d9105045d4caf9b67e0449ff5603d9dfe4965b4cf |
python-psycopg2-debuginfo-2.0.14-2.el6.x86_64.rpm | SHA-256: df484af13a327ed00271c52d9105045d4caf9b67e0449ff5603d9dfe4965b4cf |
python-psycopg2-doc-2.0.14-2.el6.x86_64.rpm | SHA-256: f30dcfc57ed9712734d83162c5d1a5b76456af88b59ccb48da670f64c429937e |
python-psycopg2-doc-2.0.14-2.el6.x86_64.rpm | SHA-256: f30dcfc57ed9712734d83162c5d1a5b76456af88b59ccb48da670f64c429937e |
i386 | |
python-psycopg2-2.0.14-2.el6.i686.rpm | SHA-256: 30481f22837cd89056900e5aa3f4d0f2c9776156e6909014fa9cfaaa14d79905 |
python-psycopg2-debuginfo-2.0.14-2.el6.i686.rpm | SHA-256: 1f6cbfcff6c19e99b864aa5fdc8b3cbbfe0bec16b172f627e8a7d19d7f95b321 |
python-psycopg2-debuginfo-2.0.14-2.el6.i686.rpm | SHA-256: 1f6cbfcff6c19e99b864aa5fdc8b3cbbfe0bec16b172f627e8a7d19d7f95b321 |
python-psycopg2-doc-2.0.14-2.el6.i686.rpm | SHA-256: afd97476678c736c7bb867f0f5a4db2a07ad90163dca295ddd1502e4c3cc6965 |
Red Hat Enterprise Linux Server - Extended Life Cycle Support 6
SRPM | |
---|---|
python-psycopg2-2.0.14-2.el6.src.rpm | SHA-256: c6d6ecd425f0211c57983bf6f46c45be532690c3465950804cab89829797c51b |
x86_64 | |
python-psycopg2-2.0.14-2.el6.x86_64.rpm | SHA-256: a6c7e52dad053d9e06a15d3b507b89fa00bc1fe18b0abc9facc9d9db6dbb8e51 |
python-psycopg2-debuginfo-2.0.14-2.el6.x86_64.rpm | SHA-256: df484af13a327ed00271c52d9105045d4caf9b67e0449ff5603d9dfe4965b4cf |
python-psycopg2-debuginfo-2.0.14-2.el6.x86_64.rpm | SHA-256: df484af13a327ed00271c52d9105045d4caf9b67e0449ff5603d9dfe4965b4cf |
python-psycopg2-doc-2.0.14-2.el6.x86_64.rpm | SHA-256: f30dcfc57ed9712734d83162c5d1a5b76456af88b59ccb48da670f64c429937e |
i386 | |
python-psycopg2-2.0.14-2.el6.i686.rpm | SHA-256: 30481f22837cd89056900e5aa3f4d0f2c9776156e6909014fa9cfaaa14d79905 |
python-psycopg2-debuginfo-2.0.14-2.el6.i686.rpm | SHA-256: 1f6cbfcff6c19e99b864aa5fdc8b3cbbfe0bec16b172f627e8a7d19d7f95b321 |
python-psycopg2-debuginfo-2.0.14-2.el6.i686.rpm | SHA-256: 1f6cbfcff6c19e99b864aa5fdc8b3cbbfe0bec16b172f627e8a7d19d7f95b321 |
python-psycopg2-doc-2.0.14-2.el6.i686.rpm | SHA-256: afd97476678c736c7bb867f0f5a4db2a07ad90163dca295ddd1502e4c3cc6965 |
Red Hat Enterprise Linux Workstation 6
SRPM | |
---|---|
python-psycopg2-2.0.14-2.el6.src.rpm | SHA-256: c6d6ecd425f0211c57983bf6f46c45be532690c3465950804cab89829797c51b |
x86_64 | |
python-psycopg2-2.0.14-2.el6.x86_64.rpm | SHA-256: a6c7e52dad053d9e06a15d3b507b89fa00bc1fe18b0abc9facc9d9db6dbb8e51 |
python-psycopg2-debuginfo-2.0.14-2.el6.x86_64.rpm | SHA-256: df484af13a327ed00271c52d9105045d4caf9b67e0449ff5603d9dfe4965b4cf |
python-psycopg2-debuginfo-2.0.14-2.el6.x86_64.rpm | SHA-256: df484af13a327ed00271c52d9105045d4caf9b67e0449ff5603d9dfe4965b4cf |
python-psycopg2-doc-2.0.14-2.el6.x86_64.rpm | SHA-256: f30dcfc57ed9712734d83162c5d1a5b76456af88b59ccb48da670f64c429937e |
i386 | |
python-psycopg2-2.0.14-2.el6.i686.rpm | SHA-256: 30481f22837cd89056900e5aa3f4d0f2c9776156e6909014fa9cfaaa14d79905 |
python-psycopg2-debuginfo-2.0.14-2.el6.i686.rpm | SHA-256: 1f6cbfcff6c19e99b864aa5fdc8b3cbbfe0bec16b172f627e8a7d19d7f95b321 |
python-psycopg2-debuginfo-2.0.14-2.el6.i686.rpm | SHA-256: 1f6cbfcff6c19e99b864aa5fdc8b3cbbfe0bec16b172f627e8a7d19d7f95b321 |
python-psycopg2-doc-2.0.14-2.el6.i686.rpm | SHA-256: afd97476678c736c7bb867f0f5a4db2a07ad90163dca295ddd1502e4c3cc6965 |
Red Hat Enterprise Linux for IBM z Systems 6
SRPM | |
---|---|
python-psycopg2-2.0.14-2.el6.src.rpm | SHA-256: c6d6ecd425f0211c57983bf6f46c45be532690c3465950804cab89829797c51b |
s390x | |
python-psycopg2-2.0.14-2.el6.s390x.rpm | SHA-256: 458ecda74ac78d2dad7012cde516a601df1067a418070a57d0d8661fbef5b330 |
python-psycopg2-debuginfo-2.0.14-2.el6.s390x.rpm | SHA-256: 0f982e0823679c26c1d5ce387e3b5443c78db749203f07f937ecd29b2550becc |
python-psycopg2-debuginfo-2.0.14-2.el6.s390x.rpm | SHA-256: 0f982e0823679c26c1d5ce387e3b5443c78db749203f07f937ecd29b2550becc |
python-psycopg2-doc-2.0.14-2.el6.s390x.rpm | SHA-256: f84880820546b73d26b788430913686af36d2e6a91ef637af311bb43d07ab26f |
Red Hat Enterprise Linux for Power, big endian 6
SRPM | |
---|---|
python-psycopg2-2.0.14-2.el6.src.rpm | SHA-256: c6d6ecd425f0211c57983bf6f46c45be532690c3465950804cab89829797c51b |
ppc64 | |
python-psycopg2-2.0.14-2.el6.ppc64.rpm | SHA-256: 4b5761a70e14b1791dc3941fdee0fd4c5085d44769b2981f3a9f87249b5a5f50 |
python-psycopg2-debuginfo-2.0.14-2.el6.ppc64.rpm | SHA-256: 7e265ea70842b87dc19085b62bd36b02d1e85615f03422a71744dc592c483264 |
python-psycopg2-debuginfo-2.0.14-2.el6.ppc64.rpm | SHA-256: 7e265ea70842b87dc19085b62bd36b02d1e85615f03422a71744dc592c483264 |
python-psycopg2-doc-2.0.14-2.el6.ppc64.rpm | SHA-256: 5634e77e7d23a230c298d712cf1d1f94791495b99ab50fd003fac6cfb03e34e3 |
Red Hat Enterprise Linux for Scientific Computing 6
SRPM | |
---|---|
python-psycopg2-2.0.14-2.el6.src.rpm | SHA-256: c6d6ecd425f0211c57983bf6f46c45be532690c3465950804cab89829797c51b |
x86_64 | |
python-psycopg2-2.0.14-2.el6.x86_64.rpm | SHA-256: a6c7e52dad053d9e06a15d3b507b89fa00bc1fe18b0abc9facc9d9db6dbb8e51 |
python-psycopg2-debuginfo-2.0.14-2.el6.x86_64.rpm | SHA-256: df484af13a327ed00271c52d9105045d4caf9b67e0449ff5603d9dfe4965b4cf |
python-psycopg2-debuginfo-2.0.14-2.el6.x86_64.rpm | SHA-256: df484af13a327ed00271c52d9105045d4caf9b67e0449ff5603d9dfe4965b4cf |
python-psycopg2-doc-2.0.14-2.el6.x86_64.rpm | SHA-256: f30dcfc57ed9712734d83162c5d1a5b76456af88b59ccb48da670f64c429937e |
Red Hat Enterprise Linux Server from RHUI 6
SRPM | |
---|---|
python-psycopg2-2.0.14-2.el6.src.rpm | SHA-256: c6d6ecd425f0211c57983bf6f46c45be532690c3465950804cab89829797c51b |
x86_64 | |
python-psycopg2-2.0.14-2.el6.x86_64.rpm | SHA-256: a6c7e52dad053d9e06a15d3b507b89fa00bc1fe18b0abc9facc9d9db6dbb8e51 |
python-psycopg2-debuginfo-2.0.14-2.el6.x86_64.rpm | SHA-256: df484af13a327ed00271c52d9105045d4caf9b67e0449ff5603d9dfe4965b4cf |
python-psycopg2-debuginfo-2.0.14-2.el6.x86_64.rpm | SHA-256: df484af13a327ed00271c52d9105045d4caf9b67e0449ff5603d9dfe4965b4cf |
python-psycopg2-doc-2.0.14-2.el6.x86_64.rpm | SHA-256: f30dcfc57ed9712734d83162c5d1a5b76456af88b59ccb48da670f64c429937e |
i386 | |
python-psycopg2-2.0.14-2.el6.i686.rpm | SHA-256: 30481f22837cd89056900e5aa3f4d0f2c9776156e6909014fa9cfaaa14d79905 |
python-psycopg2-debuginfo-2.0.14-2.el6.i686.rpm | SHA-256: 1f6cbfcff6c19e99b864aa5fdc8b3cbbfe0bec16b172f627e8a7d19d7f95b321 |
python-psycopg2-debuginfo-2.0.14-2.el6.i686.rpm | SHA-256: 1f6cbfcff6c19e99b864aa5fdc8b3cbbfe0bec16b172f627e8a7d19d7f95b321 |
python-psycopg2-doc-2.0.14-2.el6.i686.rpm | SHA-256: afd97476678c736c7bb867f0f5a4db2a07ad90163dca295ddd1502e4c3cc6965 |
Red Hat Enterprise Linux Server - Extended Life Cycle Support (for IBM z Systems) 6
SRPM | |
---|---|
python-psycopg2-2.0.14-2.el6.src.rpm | SHA-256: c6d6ecd425f0211c57983bf6f46c45be532690c3465950804cab89829797c51b |
s390x | |
python-psycopg2-2.0.14-2.el6.s390x.rpm | SHA-256: 458ecda74ac78d2dad7012cde516a601df1067a418070a57d0d8661fbef5b330 |
python-psycopg2-debuginfo-2.0.14-2.el6.s390x.rpm | SHA-256: 0f982e0823679c26c1d5ce387e3b5443c78db749203f07f937ecd29b2550becc |
python-psycopg2-debuginfo-2.0.14-2.el6.s390x.rpm | SHA-256: 0f982e0823679c26c1d5ce387e3b5443c78db749203f07f937ecd29b2550becc |
python-psycopg2-doc-2.0.14-2.el6.s390x.rpm | SHA-256: f84880820546b73d26b788430913686af36d2e6a91ef637af311bb43d07ab26f |
Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension 6
SRPM | |
---|---|
python-psycopg2-2.0.14-2.el6.src.rpm | SHA-256: c6d6ecd425f0211c57983bf6f46c45be532690c3465950804cab89829797c51b |
x86_64 | |
python-psycopg2-2.0.14-2.el6.x86_64.rpm | SHA-256: a6c7e52dad053d9e06a15d3b507b89fa00bc1fe18b0abc9facc9d9db6dbb8e51 |
python-psycopg2-debuginfo-2.0.14-2.el6.x86_64.rpm | SHA-256: df484af13a327ed00271c52d9105045d4caf9b67e0449ff5603d9dfe4965b4cf |
python-psycopg2-debuginfo-2.0.14-2.el6.x86_64.rpm | SHA-256: df484af13a327ed00271c52d9105045d4caf9b67e0449ff5603d9dfe4965b4cf |
python-psycopg2-doc-2.0.14-2.el6.x86_64.rpm | SHA-256: f30dcfc57ed9712734d83162c5d1a5b76456af88b59ccb48da670f64c429937e |
i386 | |
python-psycopg2-2.0.14-2.el6.i686.rpm | SHA-256: 30481f22837cd89056900e5aa3f4d0f2c9776156e6909014fa9cfaaa14d79905 |
python-psycopg2-debuginfo-2.0.14-2.el6.i686.rpm | SHA-256: 1f6cbfcff6c19e99b864aa5fdc8b3cbbfe0bec16b172f627e8a7d19d7f95b321 |
python-psycopg2-debuginfo-2.0.14-2.el6.i686.rpm | SHA-256: 1f6cbfcff6c19e99b864aa5fdc8b3cbbfe0bec16b172f627e8a7d19d7f95b321 |
python-psycopg2-doc-2.0.14-2.el6.i686.rpm | SHA-256: afd97476678c736c7bb867f0f5a4db2a07ad90163dca295ddd1502e4c3cc6965 |
Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension (for IBM z Systems) 6
SRPM | |
---|---|
python-psycopg2-2.0.14-2.el6.src.rpm | SHA-256: c6d6ecd425f0211c57983bf6f46c45be532690c3465950804cab89829797c51b |
s390x | |
python-psycopg2-2.0.14-2.el6.s390x.rpm | SHA-256: 458ecda74ac78d2dad7012cde516a601df1067a418070a57d0d8661fbef5b330 |
python-psycopg2-debuginfo-2.0.14-2.el6.s390x.rpm | SHA-256: 0f982e0823679c26c1d5ce387e3b5443c78db749203f07f937ecd29b2550becc |
python-psycopg2-debuginfo-2.0.14-2.el6.s390x.rpm | SHA-256: 0f982e0823679c26c1d5ce387e3b5443c78db749203f07f937ecd29b2550becc |
python-psycopg2-doc-2.0.14-2.el6.s390x.rpm | SHA-256: f84880820546b73d26b788430913686af36d2e6a91ef637af311bb43d07ab26f |
The Red Hat security contact is secalert@redhat.com. More contact details at https://access.redhat.com/security/team/contact/.