Psycopg; How to detect row locking?

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

Steve Holden <steve at> 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

Be seeing you,
Godoy.     <godoy at>

More information about the Python-list mailing list