Hi django users, Not sure whether this is a bug or configuration issue.
I have a postgres with postgis setup. It works perfect on a postgres 8.4 machine, but it doesn't on a postgres 9.1 machine. The problem is when constructing GIS queries. django.contrib.gis relies on psycopg2.Binary for encoding binary data like polygons. When connected to the postgres 8.4 machine, output is double-quoted, like \\000\\000, but when connected to the 9.1 machine, the output of Binary is only single quoted, like \000\000. This causes of course encoding issues, because it conflicts with the null-termination. Any help? Thanks, Jonathan -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.