X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=PLC%2FPostgreSQL.py;h=6286a1a6d73b4ac34573542a2e5c16f32b7e5cda;hb=ea972bb9fb462b9c318f5e68959c10c3bd98ed17;hp=30e9c461d811fa11b8e19a609c7201c01dbb3486;hpb=3cccae38da1f2bb2e7c3242c119a4ef566f03414;p=plcapi.git diff --git a/PLC/PostgreSQL.py b/PLC/PostgreSQL.py index 30e9c46..6286a1a 100644 --- a/PLC/PostgreSQL.py +++ b/PLC/PostgreSQL.py @@ -5,12 +5,14 @@ # Mark Huang # Copyright (C) 2006 The Trustees of Princeton University # -# $Id: PostgreSQL.py,v 1.9 2006/11/08 22:43:02 mlhuang Exp $ +# $Id: PostgreSQL.py,v 1.10 2006/11/09 19:34:04 mlhuang Exp $ # import psycopg2 import psycopg2.extensions psycopg2.extensions.register_type(psycopg2.extensions.UNICODE) +# UNICODEARRAY not exported yet +psycopg2.extensions.register_type(psycopg2._psycopg.UNICODEARRAY) import pgdb from types import StringTypes, NoneType