psycopg2 multiprocessing problem

kevin <[email protected]>
Newsgroups gmane.comp.python.db.psycopg.devel
Message-ID <[email protected]>
when making db queries using psycopg2, web.py on processes spawned by
multiprocessing i get this error:

http://pastie.org/811424

InternalError: current transaction is aborted, commands ignored until end of
transaction block
http://stackoverflow.com/questions/2209560/internalerror-current-transaction-is-aborted-commands-ignored-until-end-of-tran



if use threading.Thread instead of multiprocessing.Process I do not get this
error.
any suggestions on how to fix this problem?

_______________________________________________
Psycopg mailing list
Psycopg-IAPFreCvJWPBWskQ1e/[email protected]
http://lists.initd.org/mailman/listinfo/psycopg
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.