i am getting this error when doing database calls in a sub process using multiprocessing library.
InternalError: current transaction is aborted, commands ignored until end of transaction block
this is to a postgres database, using psycopg2 driver in web.py.
how ever if i use threading.Thread instead of multiprocessing.Process I dont get this error. any ideas how to fix this?