On Aug 10, 2010, at 12:03 AM, Jon Nelson wrote:

> I tried setting isolation_level to SERIALIZABLE in my create_engine
> options, while using psycopg2.
> However, an strace clearly shows that it is using READ COMMITTED.
> Is setting the isolation_level not supported with psycopg2?


Here's a test:

eng = create_engine('postgresql://....', isolation_level='SERIALIZABLE', 
echo=True)
print eng.execute('show transaction isolation level').scalar()

for me it returns 'serializable'.  


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

Reply via email to