Re: psycopg2da not properly casting arrays

Federico Di Gregorio <fog-NGVKUo/i/[email protected]>
Newsgroups gmane.comp.python.db.psycopg.devel
Organization initd.org
Message-ID <[email protected]>
Il giorno gio, 29/05/2008 alle 21.24 +0200, Brian Sutherland ha scritto:
> Hi,
> 
> I've been having some problems with psycopg2da not properly casting
> arrays of TEXT to python objects. Basically they are cast to lists of
> strings rather than lists of unicode.

I don't maintain psycopg2da myself so I don't know exactly what's
happening but your patch will surely make psycopg return unicode objects
for text arrays. Applied. (Please,checkout from trunk and test the
change.)

federico

-- 
Federico Di Gregorio                         http://people.initd.org/fog
Debian GNU/Linux Developer                                [email protected]
INIT.D Developer                                           fog-NGVKUo/i/[email protected]
 In some countries (e.g., Germany) even many brands of toilet paper have
  format A6.             [http://www.cl.cam.ac.uk/~mgk25/iso-paper.html]

_______________________________________________
Psycopg mailing list
Psycopg-IAPFreCvJWPBWskQ1e/[email protected]
http://lists.initd.org/mailman/listinfo/psycopg
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQBIPzDuvcCgrgZGjesRApMVAJ42EdU33cM1sEV698Ol3aJib/jqLgCfdw6G
601G41iLBCYpIUhh1asnwcQ=
=8WNR
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.