Comment 16 for bug 992525

Revision history for this message
Kyle Waid (midwest) wrote :

Hi,

Know this is a really old post. I was looking at openerp/sql_db.py in v7 and it looks like OpenERP uses "Repeatable Read" and not Serialized isolation.

Further,

from psycopg2.extensions import ISOLATION_LEVEL_AUTOCOMMIT, ISOLATION_LEVEL_READ_COMMITTED, ISOLATION_LEVEL_REPEATABLE_READ

            isolation_level = ISOLATION_LEVEL_REPEATABLE_READ \
                                  if self._serialized \
                                  else ISOLATION_LEVEL_READ_COMMITTED

I do not see anywhere in the code where from psycopg2 serialized isolation is imported or used in the code.

Thanks!