logo       

Re: Database is locked error on 2nd conn: msg#00038

python.db.pysqlite.user

Subject: Re: Database is locked error on 2nd conn

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

David Pratt wrote:
> [...] In posgres and psycopg I am using an isolation level of
> serializable. What is equivalent for SQLite? I have not specified an
> isolation on my connection, does this mean an isolation level of none?

pysqlite's default setting for isolation level is "DEFERRED". I can't say
how it compares to PostgreSQL's isolation levels, but I think that they
work differently.

- -- Gerhard
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFEXS4GdIO4ozGCH14RAsrJAKCv0R8bSlnmWbBrvxa8TbpEpZuBEwCgiIh2
dmVN1IdiKybpdDGl5dxGTBc=
=BwBb
-----END PGP SIGNATURE-----


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise