summaryrefslogtreecommitdiff
path: root/sandbox/test814.py
diff options
context:
space:
mode:
Diffstat (limited to 'sandbox/test814.py')
-rw-r--r--sandbox/test814.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/sandbox/test814.py b/sandbox/test814.py
new file mode 100644
index 0000000..53e7e7f
--- /dev/null
+++ b/sandbox/test814.py
@@ -0,0 +1,9 @@
+import psycopg2
+import psycopg2.extras
+
+conn = psycopg2.connect("dbname=test")
+curs = conn.cursor()
+curs.execute("SELECT true AS foo WHERE 'a' in %s", (("aa", "bb"),))
+print curs.fetchall()
+print curs.query
+