summaryrefslogtreecommitdiff
path: root/psycopg/cursor.h
diff options
context:
space:
mode:
authorFederico Di Gregorio <fog@initd.org>2004-12-14 03:33:03 +0000
committerFederico Di Gregorio <fog@initd.org>2004-12-14 03:33:03 +0000
commit08a49653425d77219c9af8bfea6e59a7523f63fb (patch)
treea29181186be474e9e93a6de4a55c35c5d6f01830 /psycopg/cursor.h
parent06ef93271a25d5576a71fe7be3c5096a29b90e43 (diff)
downloadpsycopg2-08a49653425d77219c9af8bfea6e59a7523f63fb.tar.gz
isready/prefetch fix.
Diffstat (limited to 'psycopg/cursor.h')
-rw-r--r--psycopg/cursor.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/psycopg/cursor.h b/psycopg/cursor.h
index a1d6ac3..37b3ebb 100644
--- a/psycopg/cursor.h
+++ b/psycopg/cursor.h
@@ -40,6 +40,7 @@ typedef struct {
int closed:1; /* 1 if the cursor is closed */
int notuples:1; /* 1 if the command was not a SELECT query */
+ int needsfetch:1; /* 1 if a call to pq_fetch is pending */
long int rowcount; /* number of rows affected by last execute */
long int columns; /* number of columns fetched from the db */