mirror of
https://github.com/psycopg/psycopg2.git
synced 2025-02-07 12:50:32 +03:00
Don't use PG_INT64_TYPE
Only defined in Postgres 9.3 Should close #520, but let's wait for the CI response (build on Windows etc.)
This commit is contained in:
parent
3a441467c0
commit
26bd5df048
1
NEWS
1
NEWS
|
@ -6,6 +6,7 @@ What's new in psycopg 2.7.1
|
||||||
|
|
||||||
- Ignore `!None` arguments passed to `~psycopg2.connect()` and
|
- Ignore `!None` arguments passed to `~psycopg2.connect()` and
|
||||||
`~psycopg2.extensions.make_dsn()` (:ticket:`#517`).
|
`~psycopg2.extensions.make_dsn()` (:ticket:`#517`).
|
||||||
|
- Fixed build with libpq versions < 9.3 (:ticket:`#520`).
|
||||||
|
|
||||||
|
|
||||||
What's new in psycopg 2.7
|
What's new in psycopg 2.7
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
#include "psycopg/config.h"
|
#include "psycopg/config.h"
|
||||||
|
|
||||||
/* type and constant definitions from internal postgres include */
|
/* type and constant definitions from internal postgres include */
|
||||||
typedef unsigned PG_INT64_TYPE XLogRecPtr;
|
typedef uint64_t XLogRecPtr;
|
||||||
|
|
||||||
/* have to use lowercase %x, as PyString_FromFormat can't do %X */
|
/* have to use lowercase %x, as PyString_FromFormat can't do %X */
|
||||||
#define XLOGFMTSTR "%x/%x"
|
#define XLOGFMTSTR "%x/%x"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user