summaryrefslogtreecommitdiff
path: root/sandbox
diff options
context:
space:
mode:
authorFederico Di Gregorio <fog@initd.org>2005-03-23 17:17:48 +0000
committerFederico Di Gregorio <fog@initd.org>2005-03-23 17:17:48 +0000
commit75e7273d85393bb0d8de55842b3497071224e2de (patch)
tree07c2f99873e2a1bd0d55640f1bd8741ac1496cd6 /sandbox
parentcb9cec57c0ef4d8a7081efd056bd7d742917ff73 (diff)
downloadpsycopg2-75e7273d85393bb0d8de55842b3497071224e2de.tar.gz
Solid tokenization code.
Diffstat (limited to 'sandbox')
-rw-r--r--sandbox/array.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sandbox/array.py b/sandbox/array.py
index 5d37776..786cbe8 100644
--- a/sandbox/array.py
+++ b/sandbox/array.py
@@ -16,6 +16,6 @@ print d, '->', d[0], d[1], d[2]
curs.execute("SELECT ARRAY[ARRAY[1,2],ARRAY[3,4]] AS foo")
print curs.fetchone()[0]
-curs.execute("SELECT ARRAY['20:00:01'::time] AS foo")
+curs.execute("SELECT ARRAY[ARRAY[now(), now()], ARRAY[now(), now()]] AS foo")
print curs.description
print curs.fetchone()[0]