Skip to navigation Skip to main content

Utilities

  • Subscriptions
  • Downloads
  • Red Hat Console
  • Get Support
Red Hat Customer Portal
  • Subscriptions
  • Downloads
  • Red Hat Console
  • Get Support
  • Products

    Top Products

    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    All Products

    Downloads and Containers

    • Downloads
    • Packages
    • Containers

    Top Resources

    • Documentation
    • Product Life Cycles
    • Product Compliance
    • Errata
  • Knowledge

    Red Hat Knowledge Center

    • Knowledgebase Solutions
    • Knowledgebase Articles
    • Customer Portal Labs
    • Errata

    Top Product Docs

    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    All Product Docs

    Training and Certification

    • About
    • Course Index
    • Certification Index
    • Skill Assessment
  • Security

    Red Hat Product Security Center

    • Security Updates
    • Security Advisories
    • Red Hat CVE Database
    • Errata

    References

    • Security Bulletins
    • Security Measurement
    • Severity Ratings
    • Security Data

    Top Resources

    • Security Labs
    • Backporting Policies
    • Security Blog
  • Support

    Red Hat Support

    • Support Cases
    • Troubleshoot
    • Get Support
    • Contact Red Hat Support

    Red Hat Community Support

    • Customer Portal Community
    • Community Discussions
    • Red Hat Accelerator Program

    Top Resources

    • Product Life Cycles
    • Customer Portal Labs
    • Red Hat JBoss Supported Configurations
    • Red Hat Insights
Or troubleshoot an issue.

Select Your Language

  • English
  • Français
  • 한국어
  • 日本語
  • 中文 (中国)

Infrastructure and Management

  • Red Hat Enterprise Linux
  • Red Hat Satellite
  • Red Hat Subscription Management
  • Red Hat Insights
  • Red Hat Ansible Automation Platform

Cloud Computing

  • Red Hat OpenShift
  • Red Hat OpenStack Platform
  • Red Hat OpenShift
  • Red Hat OpenShift AI
  • Red Hat OpenShift Dedicated
  • Red Hat Advanced Cluster Security for Kubernetes
  • Red Hat Advanced Cluster Management for Kubernetes
  • Red Hat Quay
  • Red Hat OpenShift Dev Spaces
  • Red Hat OpenShift Service on AWS

Storage

  • Red Hat Gluster Storage
  • Red Hat Hyperconverged Infrastructure
  • Red Hat Ceph Storage
  • Red Hat OpenShift Data Foundation

Runtimes

  • Red Hat Runtimes
  • Red Hat JBoss Enterprise Application Platform
  • Red Hat Data Grid
  • Red Hat JBoss Web Server
  • Red Hat build of Keycloak
  • Red Hat support for Spring Boot
  • Red Hat build of Node.js
  • Red Hat build of Quarkus

Integration and Automation

  • Red Hat Application Foundations
  • Red Hat Fuse
  • Red Hat AMQ
  • Red Hat 3scale API Management
All Products
Red Hat Product Errata RHBA-2013:0327 - Bug Fix Advisory
Issued:
2013-02-20
Updated:
2013-02-20

RHBA-2013:0327 - Bug Fix Advisory

  • Overview
  • Updated Packages

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.

View affected systems

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)

Note: More recent versions of these packages may be available. Click a package name for more details.

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/.

Red Hat LinkedIn YouTube Facebook X, formerly Twitter

Quick Links

  • Downloads
  • Subscriptions
  • Support Cases
  • Customer Service
  • Product Documentation

Help

  • Contact Us
  • Customer Portal FAQ
  • Log-in Assistance

Site Info

  • Trust Red Hat
  • Browser Support Policy
  • Accessibility
  • Awards and Recognition
  • Colophon

Related Sites

  • redhat.com
  • developers.redhat.com
  • connect.redhat.com
  • cloud.redhat.com

Red Hat legal and privacy links

  • About Red Hat
  • Jobs
  • Events
  • Locations
  • Contact Red Hat
  • Red Hat Blog
  • Inclusion at Red Hat
  • Cool Stuff Store
  • Red Hat Summit
© 2025 Red Hat

Red Hat legal and privacy links

  • Privacy statement
  • Terms of use
  • All policies and guidelines
  • Digital accessibility