summaryrefslogtreecommitdiff
path: root/psycopg/cursor.h
diff options
context:
space:
mode:
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 */