Commit f824ecc3 authored by Russell Keith-Magee's avatar Russell Keith-Magee
Browse files

Fixed #10958 -- Corrected the setting of PostgreSQL isolation level. Thanks to...

Fixed #10958 -- Corrected the setting of PostgreSQL isolation level. Thanks to kmishler for the report.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@10728 bcc190cf-cafb-0310-a4f2-bffc1f526a37
parent 9e97fdf3
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -97,6 +97,7 @@ class DatabaseWrapper(BaseDatabaseWrapper):
                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