Author: russellm
Date: 2009-05-10 01:23:29 -0500 (Sun, 10 May 2009)
New Revision: 10728

Modified:
   django/trunk/django/db/backends/postgresql_psycopg2/base.py
Log:
Fixed #10958 -- Corrected the setting of PostgreSQL isolation level. Thanks to 
kmishler for the report.

Modified: django/trunk/django/db/backends/postgresql_psycopg2/base.py
===================================================================
--- django/trunk/django/db/backends/postgresql_psycopg2/base.py 2009-05-09 
15:52:17 UTC (rev 10727)
+++ django/trunk/django/db/backends/postgresql_psycopg2/base.py 2009-05-10 
06:23:29 UTC (rev 10728)
@@ -97,6 +97,7 @@
                 conn_params['port'] = settings_dict['DATABASE_PORT']
             self.connection = Database.connect(**conn_params)
             self.connection.set_client_encoding('UTF8')
+            self.connection.set_isolation_level(self.isolation_level)
             connection_created.send(sender=self.__class__)
         cursor = self.connection.cursor()
         cursor.tzinfo_factory = None


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to