summaryrefslogtreecommitdiff
path: root/sandbox/test814.py
diff options
context:
space:
mode:
authorFederico Di Gregorio <fog@initd.org>2006-06-07 23:46:32 +0000
committerFederico Di Gregorio <fog@initd.org>2006-06-07 23:46:32 +0000
commit267b4171ec5802f67a3a656f8a9f25d1cd2b8824 (patch)
tree8fb7052a3d8927f71f184bb8432eff4f0258b61c /sandbox/test814.py
parent0544e968124e488d0397bb3898dd9dd3d272ba4d (diff)
downloadpsycopg2-267b4171ec5802f67a3a656f8a9f25d1cd2b8824.tar.gz
Sandbox stuff (not distributed but can help others to debug.)
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
+