Psycopg 2.7.2 released

From: Daniele Varrazzo <daniele(dot)varrazzo(at)gmail(dot)com>
To: pgsql-announce(at)postgresql(dot)org
Subject: Psycopg 2.7.2 released
Date: 2017-07-22 15:29:08
Message-ID: CA+mi_8bprYPJRRUjE+1_E7TWN2rB9CUg=1LMyF5JT=3ooGtW7Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-announce

Releasing psycopg2 version 2.7.2: a release fixing a host of bugs
found in the last 3-4 months.

Summary of changes:

- Fixed inconsistent state in externally closed connections (ticket #263,
ticket #311, ticket #443). Was fixed in 2.6.2 but not included in
2.7 by mistake.
- Fixed Python exceptions propagation in green callback (ticket #410).
- Don't display the password in 'connection.dsn' when the connection string
is specified as an URI (ticket #528).
- Return objects with timezone parsing "infinity" timestamptz (ticket #536).
- Dropped dependency on VC9 runtime on Windows binary packages (ticket #541).
- Fixed segfault in 'lobject()' when mode=None (ticket #544).
- Fixed 'lobject()' keyword argument 'lobject_factory' (ticket #545).
- Fixed 'ReplicationCursor.consume_stream()' 'keepalive_interval' argument
(ticket #547).
- Maybe fixed random import error on Python 3.6 in multiprocess environment
(ticket #550).
- Fixed random 'SystemError' upon receiving abort signal (ticket #551).
- Accept 'sql.Composable' objects in
'ReplicationCursor.start_replication_expert()'
(ticket 554).
- Parse intervals returned as microseconds from Redshift (ticket #558).
- Added 'Json.prepare()' method to consider connection params when adapting
(ticket #562).
- 'errorcodes' map updated to PostgreSQL 10 beta 1.

You can install psycopg2 from PyPI or grab the new code from:

- source package:
http://initd.org/psycopg/tarballs/PSYCOPG-2-7/psycopg2-2.7.2.tar.gz
- signature
http://initd.org/psycopg/tarballs/PSYCOPG-2-7/psycopg2-2.7.2.tar.gz.asc

Happy hacking!

----

Psycopg is the most popular PostgreSQL adapter for the Python
programming language. At its core it fully implements the Python DB
API 2.0 specifications. Several extensions allow access to many of the
features offered by PostgreSQL.

Browse pgsql-announce by date

  From Date Subject
Next Message David Fetter 2017-07-23 20:46:18 == PostgreSQL Weekly News - July 23 2017 ==
Previous Message Guillaume Lelarge 2017-07-21 15:04:54 PostgreSQL Conference Europe Early Bird registration and Training Sessions