summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>2019-09-04 12:27:16 +0100
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>2019-09-04 12:30:18 +0100
commit80df0553a6450df25fa96ee4dbb6acf63efb8ffc (patch)
treef6eed1aea6492155cbc2a33e8c164b42f1780290 /NEWS
parent4d10f1235fed1c0aa5958cc4a9248688c3345aad (diff)
downloadpsycopg2-80df0553a6450df25fa96ee4dbb6acf63efb8ffc.tar.gz
Fixed handling large Oid valuesfix-961
Oid is defined as unsigned 32. On some Python implementations (probably the ones where maxint = 2 ** 31) this can cause int overflow for large values (see #961). On my 64 box it doesn't seem the case. Oid handling was sloppy here and there (messages, casts...): trying to use uint everywhere, and added a couple of helper macros to treat Oid consistently. Close #961.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS6
1 files changed, 4 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index da996b8..94d6f5e 100644
--- a/NEWS
+++ b/NEWS
@@ -4,8 +4,10 @@ Current release
What's new in psycopg 2.8.4
^^^^^^^^^^^^^^^^^^^^^^^^^^^
-Don't swallow keyboard interrupts on connect when a password is specified
-in the connection string (:ticket:`#898`).
+- Don't swallow keyboard interrupts on connect when a password is specified
+ in the connection string (:ticket:`#898`).
+- Fixed int overflow for large values in `~psycopg2.extensions.Column.table_oid`
+ and `~psycopg2.extensions.Column.type_code` (:ticket:`961).
What's new in psycopg 2.8.3