python-psycopg2 bug fix and enhancement update
| Advisory: | RHBA-2013:0327-1 |
|---|---|
| Type: | Bug Fix Advisory |
| Severity: | N/A |
| Issued on: | 2013-02-20 |
| Last updated on: | 2013-02-20 |
| Affected Products: | Red Hat Enterprise Linux HPC Node (v. 6) Red Hat Enterprise Linux Server (v. 6) Red Hat Enterprise Linux Workstation (v. 6) |
Details
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.
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
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
Updated packages
| Red Hat Enterprise Linux HPC Node (v. 6) | |
| SRPMS: | |
| python-psycopg2-2.0.14-2.el6.src.rpm | MD5: 370302576cf038361e786702368a5894 SHA-256: d15632977102851e8ac6153a408afffecb96b26d172f36cdd8d9967fd189dc65 |
| x86_64: | |
| python-psycopg2-2.0.14-2.el6.x86_64.rpm | MD5: b264e2ed519f08945bfdb116a0374e06 SHA-256: a6c7e52dad053d9e06a15d3b507b89fa00bc1fe18b0abc9facc9d9db6dbb8e51 |
| python-psycopg2-debuginfo-2.0.14-2.el6.x86_64.rpm | MD5: d496ddcd48b442350c1352ba41e6a30b SHA-256: df484af13a327ed00271c52d9105045d4caf9b67e0449ff5603d9dfe4965b4cf |
| python-psycopg2-doc-2.0.14-2.el6.x86_64.rpm | MD5: 69c1764d64a13f65f48b48b0e6e61cb9 SHA-256: f30dcfc57ed9712734d83162c5d1a5b76456af88b59ccb48da670f64c429937e |
| Red Hat Enterprise Linux Server (v. 6) | |
| SRPMS: | |
| python-psycopg2-2.0.14-2.el6.src.rpm | MD5: 370302576cf038361e786702368a5894 SHA-256: d15632977102851e8ac6153a408afffecb96b26d172f36cdd8d9967fd189dc65 |
| IA-32: | |
| python-psycopg2-2.0.14-2.el6.i686.rpm | MD5: dcf8c18f1de43ae30955e684fbcc1dd4 SHA-256: 30481f22837cd89056900e5aa3f4d0f2c9776156e6909014fa9cfaaa14d79905 |
| python-psycopg2-debuginfo-2.0.14-2.el6.i686.rpm | MD5: 1ecfaa0185c8ad7451c8fa2fe815c8d5 SHA-256: 1f6cbfcff6c19e99b864aa5fdc8b3cbbfe0bec16b172f627e8a7d19d7f95b321 |
| python-psycopg2-doc-2.0.14-2.el6.i686.rpm | MD5: b858de99a073cb6babdda32877b8582d SHA-256: afd97476678c736c7bb867f0f5a4db2a07ad90163dca295ddd1502e4c3cc6965 |
| PPC: | |
| python-psycopg2-2.0.14-2.el6.ppc64.rpm | MD5: f7e8aecf383ff32196972bcd328a6a7b SHA-256: 4b5761a70e14b1791dc3941fdee0fd4c5085d44769b2981f3a9f87249b5a5f50 |
| python-psycopg2-debuginfo-2.0.14-2.el6.ppc64.rpm | MD5: caeb4a7bf3a8686918d5aab30b055138 SHA-256: 7e265ea70842b87dc19085b62bd36b02d1e85615f03422a71744dc592c483264 |
| python-psycopg2-doc-2.0.14-2.el6.ppc64.rpm | MD5: ed656443e721cba04b75f743f5ad7f52 SHA-256: 5634e77e7d23a230c298d712cf1d1f94791495b99ab50fd003fac6cfb03e34e3 |
| s390x: | |
| python-psycopg2-2.0.14-2.el6.s390x.rpm | MD5: 3ce22e121c6720b72fd59388586ae6c8 SHA-256: 458ecda74ac78d2dad7012cde516a601df1067a418070a57d0d8661fbef5b330 |
| python-psycopg2-debuginfo-2.0.14-2.el6.s390x.rpm | MD5: a3e0c92cfad57dbeb9a5235ff2adbf78 SHA-256: 0f982e0823679c26c1d5ce387e3b5443c78db749203f07f937ecd29b2550becc |
| python-psycopg2-doc-2.0.14-2.el6.s390x.rpm | MD5: 6457b81edda9ebb40093a597eeef7d06 SHA-256: f84880820546b73d26b788430913686af36d2e6a91ef637af311bb43d07ab26f |
| x86_64: | |
| python-psycopg2-2.0.14-2.el6.x86_64.rpm | MD5: b264e2ed519f08945bfdb116a0374e06 SHA-256: a6c7e52dad053d9e06a15d3b507b89fa00bc1fe18b0abc9facc9d9db6dbb8e51 |
| python-psycopg2-debuginfo-2.0.14-2.el6.x86_64.rpm | MD5: d496ddcd48b442350c1352ba41e6a30b SHA-256: df484af13a327ed00271c52d9105045d4caf9b67e0449ff5603d9dfe4965b4cf |
| python-psycopg2-doc-2.0.14-2.el6.x86_64.rpm | MD5: 69c1764d64a13f65f48b48b0e6e61cb9 SHA-256: f30dcfc57ed9712734d83162c5d1a5b76456af88b59ccb48da670f64c429937e |
| Red Hat Enterprise Linux Workstation (v. 6) | |
| SRPMS: | |
| python-psycopg2-2.0.14-2.el6.src.rpm | MD5: 370302576cf038361e786702368a5894 SHA-256: d15632977102851e8ac6153a408afffecb96b26d172f36cdd8d9967fd189dc65 |
| IA-32: | |
| python-psycopg2-2.0.14-2.el6.i686.rpm | MD5: dcf8c18f1de43ae30955e684fbcc1dd4 SHA-256: 30481f22837cd89056900e5aa3f4d0f2c9776156e6909014fa9cfaaa14d79905 |
| python-psycopg2-debuginfo-2.0.14-2.el6.i686.rpm | MD5: 1ecfaa0185c8ad7451c8fa2fe815c8d5 SHA-256: 1f6cbfcff6c19e99b864aa5fdc8b3cbbfe0bec16b172f627e8a7d19d7f95b321 |
| python-psycopg2-doc-2.0.14-2.el6.i686.rpm | MD5: b858de99a073cb6babdda32877b8582d SHA-256: afd97476678c736c7bb867f0f5a4db2a07ad90163dca295ddd1502e4c3cc6965 |
| x86_64: | |
| python-psycopg2-2.0.14-2.el6.x86_64.rpm | MD5: b264e2ed519f08945bfdb116a0374e06 SHA-256: a6c7e52dad053d9e06a15d3b507b89fa00bc1fe18b0abc9facc9d9db6dbb8e51 |
| python-psycopg2-debuginfo-2.0.14-2.el6.x86_64.rpm | MD5: d496ddcd48b442350c1352ba41e6a30b SHA-256: df484af13a327ed00271c52d9105045d4caf9b67e0449ff5603d9dfe4965b4cf |
| python-psycopg2-doc-2.0.14-2.el6.x86_64.rpm | MD5: 69c1764d64a13f65f48b48b0e6e61cb9 SHA-256: f30dcfc57ed9712734d83162c5d1a5b76456af88b59ccb48da670f64c429937e |
| (The unlinked packages above are only available from the Red Hat Network) | |
Bugs fixed (see bugzilla for more information)
711095 - Python garbage collector assertion failure running pq_execute (cursorObject refcount issue)
765998 - reference leak in _mogrify when dict value is referenced more than once
843723 - SIGABRT: Modules/gcmodule.c:275: visit_decref: Assertion > `gc->gc.gc_refs != 0' failed
These packages are GPG signed by Red Hat for security. Our key and details on how to verify the signature are available from:
https://www.redhat.com/security/team/key/#package
The Red Hat security contact is secalert@redhat.com. More contact details at http://www.redhat.com/security/team/contact/