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
^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Fixed building with Python 3.8 (:ticket:`#854`).
- Don't swallow keyboard interrupts on connect when a password is specified
in the connection string (:ticket:`#898`).
- Don't advance replication cursor when the message wasn't confirmed
(:ticket:`#940`).
- Fixed inclusion of ``time.h`` on linux (:ticket:`#951`).
- Fixed int overflow for large values in `~psycopg2.extensions.Column.table_oid`
and `~psycopg2.extensions.Column.type_code` (:ticket:`961`).
- Fixed building with Python 3.8 (:ticket:`854`).
and `~psycopg2.extensions.Column.type_code` (:ticket:`#961`).
- `~psycopg2.errorcodes` map and `~psycopg2.errors` classes updated to
PostgreSQL 12.

View File

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