diff options
| author | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2010-10-11 00:03:08 +0100 |
|---|---|---|
| committer | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2010-11-05 09:34:48 +0000 |
| commit | 17d70babb1cf589c23fc1c7f008ba4e10a48cf72 (patch) | |
| tree | 0983608363123bdd775358133cda4dad630a55e2 /psycopg/pqpath.h | |
| parent | 397eace051aaf633a8facbe92d04e2194c908e7d (diff) | |
| download | psycopg2-17d70babb1cf589c23fc1c7f008ba4e10a48cf72.tar.gz | |
Keep the GIL while converting the xid into the PostgreSQL transaction id.
Diffstat (limited to 'psycopg/pqpath.h')
| -rw-r--r-- | psycopg/pqpath.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/psycopg/pqpath.h b/psycopg/pqpath.h index 5f56efa..51a640d 100644 --- a/psycopg/pqpath.h +++ b/psycopg/pqpath.h @@ -47,7 +47,7 @@ HIDDEN int pq_abort_locked(connectionObject *conn, PGresult **pgres, HIDDEN int pq_abort(connectionObject *conn); HIDDEN int pq_reset(connectionObject *conn); HIDDEN int pq_tpc_command_locked(connectionObject *conn, - const char *cmd, XidObject *xid, + const char *cmd, const char *tid, PGresult **pgres, char **error, PyThreadState **tstate); HIDDEN int pq_is_busy(connectionObject *conn); |
