summaryrefslogtreecommitdiff
path: root/psycopg/pqpath.h
diff options
context:
space:
mode:
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>2010-10-11 00:03:08 +0100
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>2010-11-05 09:34:48 +0000
commit17d70babb1cf589c23fc1c7f008ba4e10a48cf72 (patch)
tree0983608363123bdd775358133cda4dad630a55e2 /psycopg/pqpath.h
parent397eace051aaf633a8facbe92d04e2194c908e7d (diff)
downloadpsycopg2-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.h2
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);