Merge branch 'fix-951'

This commit is contained in:
Daniele Varrazzo 2019-10-19 18:38:56 +01:00
commit cb7109dfa9
2 changed files with 6 additions and 5 deletions

5
NEWS
View File

@ -4,13 +4,14 @@ Current release
What's new in psycopg 2.8.4 What's new in psycopg 2.8.4
^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Fixed building with Python 3.8 (:ticket:`#854`).
- Don't swallow keyboard interrupts on connect when a password is specified - Don't swallow keyboard interrupts on connect when a password is specified
in the connection string (:ticket:`#898`). in the connection string (:ticket:`#898`).
- Don't advance replication cursor when the message wasn't confirmed - Don't advance replication cursor when the message wasn't confirmed
(:ticket:`#940`). (:ticket:`#940`).
- Fixed inclusion of ``time.h`` on linux (:ticket:`#951`).
- Fixed int overflow for large values in `~psycopg2.extensions.Column.table_oid` - Fixed int overflow for large values in `~psycopg2.extensions.Column.table_oid`
and `~psycopg2.extensions.Column.type_code` (:ticket:`961`). and `~psycopg2.extensions.Column.type_code` (:ticket:`#961`).
- Fixed building with Python 3.8 (:ticket:`854`).
- `~psycopg2.errorcodes` map and `~psycopg2.errors` classes updated to - `~psycopg2.errorcodes` map and `~psycopg2.errors` classes updated to
PostgreSQL 12. PostgreSQL 12.

View File

@ -51,10 +51,10 @@
#include <winsock2.h> #include <winsock2.h>
/* gettimeofday() */ /* gettimeofday() */
#include "win32_support.h" #include "win32_support.h"
#endif #elif defined(__sun) && defined(__SVR4)
#if defined(__sun) && defined(__SVR4)
#include "solaris_support.h" #include "solaris_support.h"
#else
#include <sys/time.h>
#endif #endif
extern HIDDEN PyObject *psyco_DescriptionType; extern HIDDEN PyObject *psyco_DescriptionType;