summaryrefslogtreecommitdiff
path: root/psycopg/cursor.h
diff options
context:
space:
mode:
authorFederico Di Gregorio <fog@initd.org>2005-10-18 14:07:17 +0000
committerFederico Di Gregorio <fog@initd.org>2005-10-18 14:07:17 +0000
commitec31179c9eb73ec38a950b229ac13763490dc0bf (patch)
treea223c18e611f1c43c9bc122af7426ed366501126 /psycopg/cursor.h
parentc7c2c38bcd412abd71d297fd8fed12a98cd67dd5 (diff)
downloadpsycopg2-ec31179c9eb73ec38a950b229ac13763490dc0bf.tar.gz
NOTIFY works again.
Diffstat (limited to 'psycopg/cursor.h')
-rw-r--r--psycopg/cursor.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/psycopg/cursor.h b/psycopg/cursor.h
index 496c68b..96ab6dd 100644
--- a/psycopg/cursor.h
+++ b/psycopg/cursor.h
@@ -68,6 +68,10 @@ typedef struct {
char *qattr; /* quoting attr, used when quoting strings */
char *notice; /* a notice from the backend */
char *query; /* last query executed */
+
+ PyObject *string_types; /* a set of typecasters for string types */
+ PyObject *binary_types; /* a set of typecasters for binary types */
+
} cursorObject;
/* C-callable functions in cursor_int.c and cursor_ext.c */