Fixed a regression in the Postgres psycopg cursor handling introduced by r12352. Thanks to Kenneth Gonsalves for the report, and Karen for the fix.
Fixed a regression in the Postgres psycopg cursor handling introduced by r12352. Thanks to Kenneth Gonsalves for the report, and Karen for the fix.

git-svn-id: 4f9f921b081c523744c7bf24d959a0db39629563@12378 bcc190cf-cafb-0310-a4f2-bffc1f526a37

FlaPer87/django-nonrel,aparo/django-nonrel,FlaPer87/django-nonrel,FlaPer87/django-nonrel,aparo/django-nonrel,aparo/django-nonrel