title: InternalError: current transaction is aborted, commands ignored until end of transaction block
body: <p>I'm getting this error when doing database calls in a sub process using multiprocessing library.</p>
  
  <p>Visit : <a href="http://pastie.org/811424" rel="nofollow noreferrer">Pastie</a></p>
  
  <blockquote>
    <p>InternalError: current transaction is aborted, commands ignored until
    end of transaction block</p>
  </blockquote>
  
  <p>this is to a Postgre Database, using <code>psycopg2</code> driver in <code>web.py</code>.</p>
  
  <p>However if I use <code>threading.Thread</code> instead of <code>multiprocessing.Process</code> I don't get this error.<br>
  Any idea how to fix this?</p>