Skip to navigation

Bug Fix Advisory python-psycopg2 bug fix and enhancement update

Advisory: RHBA-2012:0145-1
Type: Bug Fix Advisory
Severity: N/A
Issued on: 2012-02-17
Last updated on: 2012-02-17
Affected Products: Red Hat Enterprise Linux HPC Node (v. 6)
Red Hat Enterprise Linux Server (v. 6)
Red Hat Enterprise Linux Server AUS (v. 6.2)
Red Hat Enterprise Linux Server EUS (v. 6.2.z)
Red Hat Enterprise Linux Workstation (v. 6)

Details

An updated python-psycopg2 package that fixes multiple bugs and adds multiple
enhancements is now available for Red Hat Enterprise Linux 6.

The python-psycopg2 package provides a PostgreSQL database adapter for the
Python programming language.

The python-psycopg2 package has 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#787164)

All users of python-psycopg2 are advised to upgrade to this updated package,
which fixes these bugs and adds 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/kb/docs/DOC-11259

Updated packages

Red Hat Enterprise Linux HPC Node (v. 6)

SRPMS:
python-psycopg2-2.0.14-1.el6_2.1.src.rpm
File outdated by:  RHBA-2013:0327
    MD5: e23bfba2b72972931a086de16468ee7f
SHA-256: a5692e7fcf0d4d72f668c3b91ae141521b1ef7dac86de15fc98cbad66c96a8fd
 
x86_64:
python-psycopg2-2.0.14-1.el6_2.1.x86_64.rpm
File outdated by:  RHBA-2013:0327
    MD5: 236f25e929b731043d47295e44632a8d
SHA-256: 2cf862079bac156a17c924bb711bfc8f84647a9098bf0fe023e99927772a73fb
python-psycopg2-debuginfo-2.0.14-1.el6_2.1.x86_64.rpm
File outdated by:  RHBA-2013:0327
    MD5: d8361d627a172564ecb3d77ef76f30e4
SHA-256: ad3c224e20009298a096a185081bcde71ba979ae35232df3a0c6b76aeaf24923
python-psycopg2-doc-2.0.14-1.el6_2.1.x86_64.rpm
File outdated by:  RHBA-2013:0327
    MD5: 77506c170777b9c18bbdb7ea231ef94a
SHA-256: c551ac2f35ffcd5e3e71b0bd6008c6b8193338ea6e7aec6e3a37ff5765a59cbd
 
Red Hat Enterprise Linux Server (v. 6)

SRPMS:
python-psycopg2-2.0.14-1.el6_2.1.src.rpm
File outdated by:  RHBA-2013:0327
    MD5: e23bfba2b72972931a086de16468ee7f
SHA-256: a5692e7fcf0d4d72f668c3b91ae141521b1ef7dac86de15fc98cbad66c96a8fd
 
IA-32:
python-psycopg2-2.0.14-1.el6_2.1.i686.rpm
File outdated by:  RHBA-2013:0327
    MD5: f5185b0075979109ad55db661fd9569c
SHA-256: f9c957729717cdc731e9fb61b88c80150b2394ed459716948063256643fa9305
python-psycopg2-debuginfo-2.0.14-1.el6_2.1.i686.rpm
File outdated by:  RHBA-2013:0327
    MD5: 57d1cdfdc5eac58c014252f941b5ef86
SHA-256: 85a0136354eb8b42a2d972269dc17a91bea7d317d98b51af4a800e895db9dd25
python-psycopg2-doc-2.0.14-1.el6_2.1.i686.rpm
File outdated by:  RHBA-2013:0327
    MD5: df4f189c27f36198e6668e408fcbe876
SHA-256: f79a9e82a9db4a9453ac708244a17ebc5acfbe1d318f015d693b034beda2a19c
 
PPC:
python-psycopg2-2.0.14-1.el6_2.1.ppc64.rpm
File outdated by:  RHBA-2013:0327
    MD5: edab631bfacac9abe314bce96b57d67a
SHA-256: 20eb4d98bb767bd9605eff769c0d2b28f5fe49fa042de37f777cf4eb5d946a35
python-psycopg2-debuginfo-2.0.14-1.el6_2.1.ppc64.rpm
File outdated by:  RHBA-2013:0327
    MD5: a09d54277da61895e91486274660ca26
SHA-256: eb4fcc4687d7154485c54c2cb569124d53a76dd305c764115e1a61b116adfe62
python-psycopg2-doc-2.0.14-1.el6_2.1.ppc64.rpm
File outdated by:  RHBA-2013:0327
    MD5: 7288364a873edb81bd663a38c4d7018c
SHA-256: bfc75aaab4a3863203131ab229c9f9d0bb9f7def0492cb77896e96ca34750f75
 
s390x:
python-psycopg2-2.0.14-1.el6_2.1.s390x.rpm
File outdated by:  RHBA-2013:0327
    MD5: 6d79daf80c05d617527688fe6a474cf9
SHA-256: 7857999fbdbbbd2b244adb18950de248a775d2b418073e412ef95758d73fecf8
python-psycopg2-debuginfo-2.0.14-1.el6_2.1.s390x.rpm
File outdated by:  RHBA-2013:0327
    MD5: 66a4fb59822a880b995ae32baff00bce
SHA-256: 04938692ff1da71ee84a5b42250c1a3c643d01f93d5cd0f64fc33c7446bcf9d7
python-psycopg2-doc-2.0.14-1.el6_2.1.s390x.rpm
File outdated by:  RHBA-2013:0327
    MD5: 17e3d2ae6a492fcfe9292ebeee4c4137
SHA-256: e5c59f1746eb58fccedd0aebc84a79a3c241577a8c38cbb7791e65ff1009606d
 
x86_64:
python-psycopg2-2.0.14-1.el6_2.1.x86_64.rpm
File outdated by:  RHBA-2013:0327
    MD5: 236f25e929b731043d47295e44632a8d
SHA-256: 2cf862079bac156a17c924bb711bfc8f84647a9098bf0fe023e99927772a73fb
python-psycopg2-debuginfo-2.0.14-1.el6_2.1.x86_64.rpm
File outdated by:  RHBA-2013:0327
    MD5: d8361d627a172564ecb3d77ef76f30e4
SHA-256: ad3c224e20009298a096a185081bcde71ba979ae35232df3a0c6b76aeaf24923
python-psycopg2-doc-2.0.14-1.el6_2.1.x86_64.rpm
File outdated by:  RHBA-2013:0327
    MD5: 77506c170777b9c18bbdb7ea231ef94a
SHA-256: c551ac2f35ffcd5e3e71b0bd6008c6b8193338ea6e7aec6e3a37ff5765a59cbd
 
Red Hat Enterprise Linux Server AUS (v. 6.2)

SRPMS:
python-psycopg2-2.0.14-1.el6_2.1.src.rpm
File outdated by:  RHBA-2013:0327
    MD5: e23bfba2b72972931a086de16468ee7f
SHA-256: a5692e7fcf0d4d72f668c3b91ae141521b1ef7dac86de15fc98cbad66c96a8fd
 
x86_64:
python-psycopg2-2.0.14-1.el6_2.1.x86_64.rpm     MD5: 236f25e929b731043d47295e44632a8d
SHA-256: 2cf862079bac156a17c924bb711bfc8f84647a9098bf0fe023e99927772a73fb
python-psycopg2-debuginfo-2.0.14-1.el6_2.1.x86_64.rpm     MD5: d8361d627a172564ecb3d77ef76f30e4
SHA-256: ad3c224e20009298a096a185081bcde71ba979ae35232df3a0c6b76aeaf24923
python-psycopg2-doc-2.0.14-1.el6_2.1.x86_64.rpm     MD5: 77506c170777b9c18bbdb7ea231ef94a
SHA-256: c551ac2f35ffcd5e3e71b0bd6008c6b8193338ea6e7aec6e3a37ff5765a59cbd
 
Red Hat Enterprise Linux Server EUS (v. 6.2.z)

SRPMS:
python-psycopg2-2.0.14-1.el6_2.1.src.rpm
File outdated by:  RHBA-2013:0327
    MD5: e23bfba2b72972931a086de16468ee7f
SHA-256: a5692e7fcf0d4d72f668c3b91ae141521b1ef7dac86de15fc98cbad66c96a8fd
 
IA-32:
python-psycopg2-2.0.14-1.el6_2.1.i686.rpm     MD5: f5185b0075979109ad55db661fd9569c
SHA-256: f9c957729717cdc731e9fb61b88c80150b2394ed459716948063256643fa9305
python-psycopg2-debuginfo-2.0.14-1.el6_2.1.i686.rpm     MD5: 57d1cdfdc5eac58c014252f941b5ef86
SHA-256: 85a0136354eb8b42a2d972269dc17a91bea7d317d98b51af4a800e895db9dd25
python-psycopg2-doc-2.0.14-1.el6_2.1.i686.rpm     MD5: df4f189c27f36198e6668e408fcbe876
SHA-256: f79a9e82a9db4a9453ac708244a17ebc5acfbe1d318f015d693b034beda2a19c
 
PPC:
python-psycopg2-2.0.14-1.el6_2.1.ppc64.rpm     MD5: edab631bfacac9abe314bce96b57d67a
SHA-256: 20eb4d98bb767bd9605eff769c0d2b28f5fe49fa042de37f777cf4eb5d946a35
python-psycopg2-debuginfo-2.0.14-1.el6_2.1.ppc64.rpm     MD5: a09d54277da61895e91486274660ca26
SHA-256: eb4fcc4687d7154485c54c2cb569124d53a76dd305c764115e1a61b116adfe62
python-psycopg2-doc-2.0.14-1.el6_2.1.ppc64.rpm     MD5: 7288364a873edb81bd663a38c4d7018c
SHA-256: bfc75aaab4a3863203131ab229c9f9d0bb9f7def0492cb77896e96ca34750f75
 
s390x:
python-psycopg2-2.0.14-1.el6_2.1.s390x.rpm     MD5: 6d79daf80c05d617527688fe6a474cf9
SHA-256: 7857999fbdbbbd2b244adb18950de248a775d2b418073e412ef95758d73fecf8
python-psycopg2-debuginfo-2.0.14-1.el6_2.1.s390x.rpm     MD5: 66a4fb59822a880b995ae32baff00bce
SHA-256: 04938692ff1da71ee84a5b42250c1a3c643d01f93d5cd0f64fc33c7446bcf9d7
python-psycopg2-doc-2.0.14-1.el6_2.1.s390x.rpm     MD5: 17e3d2ae6a492fcfe9292ebeee4c4137
SHA-256: e5c59f1746eb58fccedd0aebc84a79a3c241577a8c38cbb7791e65ff1009606d
 
x86_64:
python-psycopg2-2.0.14-1.el6_2.1.x86_64.rpm     MD5: 236f25e929b731043d47295e44632a8d
SHA-256: 2cf862079bac156a17c924bb711bfc8f84647a9098bf0fe023e99927772a73fb
python-psycopg2-debuginfo-2.0.14-1.el6_2.1.x86_64.rpm     MD5: d8361d627a172564ecb3d77ef76f30e4
SHA-256: ad3c224e20009298a096a185081bcde71ba979ae35232df3a0c6b76aeaf24923
python-psycopg2-doc-2.0.14-1.el6_2.1.x86_64.rpm     MD5: 77506c170777b9c18bbdb7ea231ef94a
SHA-256: c551ac2f35ffcd5e3e71b0bd6008c6b8193338ea6e7aec6e3a37ff5765a59cbd
 
Red Hat Enterprise Linux Workstation (v. 6)

SRPMS:
python-psycopg2-2.0.14-1.el6_2.1.src.rpm
File outdated by:  RHBA-2013:0327
    MD5: e23bfba2b72972931a086de16468ee7f
SHA-256: a5692e7fcf0d4d72f668c3b91ae141521b1ef7dac86de15fc98cbad66c96a8fd
 
IA-32:
python-psycopg2-2.0.14-1.el6_2.1.i686.rpm
File outdated by:  RHBA-2013:0327
    MD5: f5185b0075979109ad55db661fd9569c
SHA-256: f9c957729717cdc731e9fb61b88c80150b2394ed459716948063256643fa9305
python-psycopg2-debuginfo-2.0.14-1.el6_2.1.i686.rpm
File outdated by:  RHBA-2013:0327
    MD5: 57d1cdfdc5eac58c014252f941b5ef86
SHA-256: 85a0136354eb8b42a2d972269dc17a91bea7d317d98b51af4a800e895db9dd25
python-psycopg2-doc-2.0.14-1.el6_2.1.i686.rpm
File outdated by:  RHBA-2013:0327
    MD5: df4f189c27f36198e6668e408fcbe876
SHA-256: f79a9e82a9db4a9453ac708244a17ebc5acfbe1d318f015d693b034beda2a19c
 
x86_64:
python-psycopg2-2.0.14-1.el6_2.1.x86_64.rpm
File outdated by:  RHBA-2013:0327
    MD5: 236f25e929b731043d47295e44632a8d
SHA-256: 2cf862079bac156a17c924bb711bfc8f84647a9098bf0fe023e99927772a73fb
python-psycopg2-debuginfo-2.0.14-1.el6_2.1.x86_64.rpm
File outdated by:  RHBA-2013:0327
    MD5: d8361d627a172564ecb3d77ef76f30e4
SHA-256: ad3c224e20009298a096a185081bcde71ba979ae35232df3a0c6b76aeaf24923
python-psycopg2-doc-2.0.14-1.el6_2.1.x86_64.rpm
File outdated by:  RHBA-2013:0327
    MD5: 77506c170777b9c18bbdb7ea231ef94a
SHA-256: c551ac2f35ffcd5e3e71b0bd6008c6b8193338ea6e7aec6e3a37ff5765a59cbd
 
(The unlinked packages above are only available from the Red Hat Network)

Bugs fixed (see bugzilla for more information)

787164 - reference leak in _mogrify when dict value is referenced more than once



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/