summaryrefslogtreecommitdiff
path: root/psycopg/adapter_qstring.h
diff options
context:
space:
mode:
Diffstat (limited to 'psycopg/adapter_qstring.h')
-rw-r--r--psycopg/adapter_qstring.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/psycopg/adapter_qstring.h b/psycopg/adapter_qstring.h
index b7b086f..8abdc5f 100644
--- a/psycopg/adapter_qstring.h
+++ b/psycopg/adapter_qstring.h
@@ -39,6 +39,9 @@ typedef struct {
PyObject *buffer;
connectionObject *conn;
+
+ const char *encoding;
+
} qstringObject;
#ifdef __cplusplus