diff options
| author | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2012-10-11 22:17:47 +0100 |
|---|---|---|
| committer | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2012-10-11 22:29:03 +0100 |
| commit | 71393b9ae96fecb0d6be24ccb8486526c1a7e102 (patch) | |
| tree | 108f0cf03a8beaea73a28c555b9e769d26350c97 /psycopg/pqpath.h | |
| parent | 5fbf3ef147046548031896b49a27a21d94efae30 (diff) | |
| download | psycopg2-71393b9ae96fecb0d6be24ccb8486526c1a7e102.tar.gz | |
Discard any result produced by cursor.executemany()
Diffstat (limited to 'psycopg/pqpath.h')
| -rw-r--r-- | psycopg/pqpath.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/psycopg/pqpath.h b/psycopg/pqpath.h index a8f39c1..d697e48 100644 --- a/psycopg/pqpath.h +++ b/psycopg/pqpath.h @@ -35,8 +35,9 @@ /* exported functions */ HIDDEN PGresult *pq_get_last_result(connectionObject *conn); -RAISES_NEG HIDDEN int pq_fetch(cursorObject *curs); -RAISES_NEG HIDDEN int pq_execute(cursorObject *curs, const char *query, int async); +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); HIDDEN int pq_send_query(connectionObject *conn, const char *query); HIDDEN int pq_begin_locked(connectionObject *conn, PGresult **pgres, char **error, PyThreadState **tstate); |
