django/django — pull request #189 by hogbait (2012-07-07 08:28:58+00:00)
Title: Return unicode arrays instead of utf-8 encoded string arrays from the psycopg database backend

When retrieving an array from the database using the psycopg2 backend, I was surprised when the query returned a utf-8 encoded string instead of a unicode string. Since django uses unicode everywhere internally, it should enable the psycopg connection setting that automatically converts database arrays into python unicode arrays.