Psycopg; How to detect row locking?

Jorge Godoy godoy at ieee.org
Mon Sep 27 16:01:29 CEST 2004


Steve Holden <steve at holdenweb.com> writes:

> If all threads are using the same database connection, even if you 
> create multiple cursors, then you shouldn't have any locking issues 
> because all threads are part of the same transaction.

I think that there is one transaction per cursor and not per
connection.  Is it really like that or there's one transaction per
connection? 


Be seeing you,
-- 
Godoy.     <godoy at ieee.org>



More information about the Python-list mailing list