diff options
author | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2018-10-15 00:58:32 +0100 |
---|---|---|
committer | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2018-10-15 00:58:32 +0100 |
commit | b205764fdde4549c48c27841aa17e6c7f499e808 (patch) | |
tree | 1475eb57dc854ea4a1dc93c1c6a567e6fc584e5c /NEWS | |
parent | e7227ce87b8da75fef1a3376ebb47e2bf20f6063 (diff) | |
parent | 7a5edff6c66a0410d6fecd4445980aabafc3ab4a (diff) | |
download | psycopg2-b205764fdde4549c48c27841aa17e6c7f499e808.tar.gz |
Merge branch 'master' into errors-moduleerrors-module
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 24 |
1 files changed, 23 insertions, 1 deletions
@@ -9,8 +9,18 @@ New features: - Added `~psycopg2.errors` module. Every PostgreSQL error is converted into a specific exception class (:ticket:`#682`). - Added `~psycopg2.extensions.encrypt_password()` function (:ticket:`#576`). +- Added `~psycopg2.extensions.Column.table_oid` and + `~psycopg2.extensions.Column.table_column` attributes on `cursor.description` + items (:ticket:`#661`). +- Added `connection.host` property (:ticket:`#726`). +- `~psycopg2.sql.Identifier` can represent qualified names in SQL composition + (:ticket:`#732`). +- `!str()` on `~psycopg2.extras.Range` produces a human-readable representation + (:ticket:`#773`). - `~psycopg2.extras.DictCursor` and `~psycopg2.extras.RealDictCursor` rows maintain columns order (:ticket:`#177`). +- Added `!severity_nonlocalized` attribute on the + `~psycopg2.extensions.Diagnostics` object (:ticket:`#783`). Other changes: @@ -23,6 +33,18 @@ Other changes: install``. +What's new in psycopg 2.7.6 +^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +- Close named cursors if exist, even if `~cursor.execute()` wasn't called + (:ticket:`#746`). +- Fixed building on modern FreeBSD versions with Python 3.7 (:ticket:`#755`). +- Fixed hang trying to :sql:`COPY` via `~cursor.execute()` (:ticket:`#781`). +- Fixed segfault accessing the `connection.readonly` and + `connection.deferrable` repeatedly (:ticket:`#790`). +- `~psycopg2.errorcodes` map updated to PostgreSQL 11. + + What's new in psycopg 2.7.5 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -351,7 +373,7 @@ Other changes: - Dropped support for Python 2.4. Please use Psycopg 2.4.x if you need it. - `~psycopg2.errorcodes` map updated to PostgreSQL 9.2. - Dropped Zope adapter from source repository. ZPsycopgDA now has its own - project at <http://github.com/psycopg/ZPsycopgDA>. + project at <https://github.com/psycopg/ZPsycopgDA>. What's new in psycopg 2.4.6 |