serializable and exceptions

Karsten Hilbert <[email protected]>
Newsgroups gmane.comp.python.db.pypgsql.user
Message-ID <[email protected]>
Dear all,

any chance we will see a dedicated exception for a "can't
serialize" error in transaction isolation level "serializable" ?

It is essentiel to be able to know when that condition occurs
as opposed to other failure causes as one wants to retry the
transaction in that case. Right now one would have to
pattern-match the message delivered with the exception.

Karsten
-- 
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346


-------------------------------------------------------
This SF.net email is sponsored by: If flattening out C++ or Java
code to make your application fit in a relational database is painful, 
don't do it! Check out ObjectStore. Now part of Progress Software.
http://www.objectstore.net/sourceforge
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.