summaryrefslogtreecommitdiff
path: root/psycopg/pqpath.h
diff options
context:
space:
mode:
authorAlexey Borzenkov <snaury@gmail.com>2013-07-09 23:36:04 +0400
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>2014-08-21 05:35:10 +0100
commit478e66f7612072062bbc4673853a3d2bd4476c59 (patch)
treeb3f7654528884601d90dc050fcbb28c08b6e6c89 /psycopg/pqpath.h
parent283a422b4dda106667b7cf5a6eee91b38b4b718d (diff)
downloadpsycopg2-478e66f7612072062bbc4673853a3d2bd4476c59.tar.gz
No implicit transaction on named cursor close
Also, don't start an implicit transaction when fetching with named with hold cursor, since it already returns results from a previously committed transaction.
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 40beea1..bd3293f 100644
--- a/psycopg/pqpath.h
+++ b/psycopg/pqpath.h
@@ -36,7 +36,7 @@
HIDDEN PGresult *pq_get_last_result(connectionObject *conn);
RAISES_NEG HIDDEN int pq_fetch(cursorObject *curs, int no_result);
RAISES_NEG HIDDEN int pq_execute(cursorObject *curs, const char *query,
- int async, int no_result);
+ int async, int no_result, int no_begin);
HIDDEN int pq_send_query(connectionObject *conn, const char *query);
HIDDEN int pq_begin_locked(connectionObject *conn, PGresult **pgres,
char **error, PyThreadState **tstate);