diff options
author | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2011-06-03 00:10:24 +0100 |
---|---|---|
committer | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2011-06-03 00:10:24 +0100 |
commit | c2d1f1f2e6832384ca01466cfbefecfa877e6850 (patch) | |
tree | aac0f9894b5017bce220f19a81866a8c6234da8e /psycopg/python.h | |
parent | 389f2cf1d01a20dda78f09830e13fd3769ad5bb6 (diff) | |
download | psycopg2-c2d1f1f2e6832384ca01466cfbefecfa877e6850.tar.gz |
Dropped isolation level from the connection object
Don't issue a SET TRANSACTION ISOLATION LEVEL at every begin: use PG's
GUC default, eventually set by set_transaction.
Dropped the last query at connection, yay!
Method set_isolation_level() and property isolation_level refactored using
the new structures, keeping the previous semantic.
Diffstat (limited to 'psycopg/python.h')
-rw-r--r-- | psycopg/python.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/psycopg/python.h b/psycopg/python.h index fed0303..7d3f8ba 100644 --- a/psycopg/python.h +++ b/psycopg/python.h @@ -105,6 +105,7 @@ typedef unsigned long Py_uhash_t; #if PY_MAJOR_VERSION > 2 #define PyInt_Type PyLong_Type +#define PyInt_Check PyLong_Check #define PyInt_AsLong PyLong_AsLong #define PyInt_FromLong PyLong_FromLong #define PyInt_FromSsize_t PyLong_FromSsize_t |