[Zope-DB] Question: detecting aborted transactions

jelle jellej at pacbell.net
Mon Mar 15 14:00:22 EST 2004


Hello,

I'm using python 2.1.3 -> Zope 2.6.3 -> zope python script -> ZSQL -> 
Zpsycopg DA 1.1.11 -> postgresql 7.4.1

The zope python scripts have try-except blocks for each ZSQL call. 
Unfortunately an aborted transaction is not caught in the except block.

The question is how do I detect or determine a transactions aborted
from within a zope python script?

My problem stems from denial of serialized access because of concurrent 
updates.

Thanks,
Jelle

-- 

 We live in the era of asymptotic prophecy: The truth, which 
 we'll never arrive at, would make us something like free.
   -S. Klawans






More information about the Zope-DB mailing list