Psycopg and threads problem
Istvan Albert
ialbert at mailblocks.com
Mon Sep 20 10:59:51 EDT 2004
Alban Hertroys wrote:
> my problem is that psycopg let's my threads end before the inserts
> actually took place, resulting in my collecting thread finding no
Make sure you commit the inserts. Otherwise you might
simply end up selecting on the old view.
There is a commit when you close the db connection so the data is
there when you check it later. When migrating from dbs
without transaction support this can be very confusing.
Istvan.
More information about the Python-list
mailing list