What's new in psycopg 2.7.2

- Fixed inconsistent state in externally closed connections
  Was fixed in 2.6.2 but not included in 2.7 by mistake.
- Fixed Python exceptions propagation in green callback
- Don't display the password in `connection.dsn` when the connection
  string is specified as an URI
- Return objects with timezone parsing "infinity" :sql:`timestamptz`
- Dropped dependency on VC9 runtime on Windows binary packages
- Fixed segfault in `~connection.lobject()` when *mode*\=\ `!None`
- Fixed `~connection.lobject()` keyword argument *lobject_factory*
- Fixed `~psycopg2.extras.ReplicationCursor.consume_stream()`
  *keepalive_interval* argument
- Maybe fixed random import error on Python 3.6 in multiprocess
  environment
- Fixed random `!SystemError` upon receiving abort signal
- Accept `~psycopg2.sql.Composable` objects in
  `~psycopg2.extras.ReplicationCursor.start_replication_expert()`
- Parse intervals returned as microseconds from Redshift
- Added `~psycopg2.extras.Json` `!prepare()` method to consider connection
  params when adapting
- `~psycopg2.errorcodes` map updated to PostgreSQL 10 beta 1.
This commit is contained in:
adam 2017-07-23 18:02:15 +00:00
parent 1464336594
commit 924579b5a2
2 changed files with 7 additions and 7 deletions

View file

@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.35 2017/03/20 13:51:55 wiz Exp $
# $NetBSD: Makefile,v 1.36 2017/07/23 18:02:15 adam Exp $
DISTNAME= psycopg2-2.7.1
DISTNAME= psycopg2-2.7.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= databases python
MASTER_SITES= http://initd.org/psycopg/tarballs/PSYCOPG-2-7/

View file

@ -1,6 +1,6 @@
$NetBSD: distinfo,v 1.25 2017/03/20 13:51:55 wiz Exp $
$NetBSD: distinfo,v 1.26 2017/07/23 18:02:15 adam Exp $
SHA1 (psycopg2-2.7.1.tar.gz) = 284ae137dc4ddf1855d47f7e92434fcd06a27ec6
RMD160 (psycopg2-2.7.1.tar.gz) = 06e973d424d9bf7507e986b10da5effdd47245bb
SHA512 (psycopg2-2.7.1.tar.gz) = dc46fb85ae47371efa64b59c2bd5ed8e05e966faa6c1176ab81b481b3d8157a6012bde31ffab3ee7704b2962566d5116fe6adcc635b50b58349f62a9fd893759
Size (psycopg2-2.7.1.tar.gz) = 421034 bytes
SHA1 (psycopg2-2.7.2.tar.gz) = 3eecd13ae4234ddfcf8be78dcd0f93611729255f
RMD160 (psycopg2-2.7.2.tar.gz) = 5e139f9b570f168114b75ab1df30e0ebc3600373
SHA512 (psycopg2-2.7.2.tar.gz) = fe2eb9b224542b87443397e918ad870ccec093ad4c99f3dfdbf2651d90e9eb7cd662e96fab747457e5a2349b8fd3b3e961d64f66e5fe3ce88615a5cf00e8c7b5
Size (psycopg2-2.7.2.tar.gz) = 424897 bytes