#8592: Savepoints non completely disabled with PostgreSQL prior to 8.0.
------------------------------+---------------------------------------------
 Reporter:  [EMAIL PROTECTED]  |       Owner:  nobody    
   Status:  new               |   Milestone:            
Component:  Database wrapper  |     Version:  1.0-beta-1
 Keywords:                    |       Stage:  Unreviewed
Has_patch:  0                 |  
------------------------------+---------------------------------------------
 I am using Django 1.0 beta 1 with PostgreSQL 7.4.

 With mod_python, I have the following exception : {{{ ProgrammingError:
 syntax error at or near "SAVEPOINT" at character 1 }}}

 Savepoints should be disabled with PostgreSQL < 8.0 (Changeset [8317]) but
 this does not work because it is not disabled in all !DatabaseWrapper
 objects, only the first one. Surely because we are using a class member to
 store the fact that it has been disabled : {{{ self.__class__._version =
 version }}}

 The problem is not present when using {{{ manage.py runserver }}}, surely
 because only one !DatabaseWrapper will be created.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/8592>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to