summaryrefslogtreecommitdiff
path: root/psycopg/pqpath.h
diff options
context:
space:
mode:
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>2010-04-22 16:03:01 +0100
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>2010-04-23 13:24:35 +0100
commita66de9808f89a483347fa32636cb2b63b724851c (patch)
tree5e257f3bae99cc9ed40b8554107ebbf1801c4407 /psycopg/pqpath.h
parent5be0fc52ca79832c029b4a67a3c470244bdda3a0 (diff)
downloadpsycopg2-a66de9808f89a483347fa32636cb2b63b724851c.tar.gz
Added 'pq_get_last_result()' function.
The function reads the last result after an asynchronous query.
Diffstat (limited to 'psycopg/pqpath.h')
-rw-r--r--psycopg/pqpath.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/psycopg/pqpath.h b/psycopg/pqpath.h
index e7e957e..cd57546 100644
--- a/psycopg/pqpath.h
+++ b/psycopg/pqpath.h
@@ -35,6 +35,7 @@
#define CLEARPGRES(pgres) PQclear(pgres); pgres = NULL
/* exported functions */
+HIDDEN PGresult *pq_get_last_result(connectionObject *conn);
HIDDEN int pq_fetch(cursorObject *curs);
HIDDEN int pq_execute(cursorObject *curs, const char *query, int async);
HIDDEN int pq_begin_locked(connectionObject *conn, PGresult **pgres,