Re: transaction abort with multiple threads

Daniele Varrazzo <[email protected]> Wed, 19 May 2010 12:48:25 +0100
Newsgroups gmane.comp.python.db.psycopg.devel
Message-ID <[email protected]>
On Wed, May 19, 2010 at 9:52 AM, Joachim Worringen
<[email protected]> wrote:

> InternalError: SET TRANSACTION ISOLATION LEVEL must be called before any
> query

I've googled for this, in SQLAlchemy ML, which seems a similar bug:
http://groups.google.com/group/sqlalchemy/browse_thread/thread/6919889c1c9c4f39

The author doesn't tell much about his setup: I've asked him for more details.

It other google hits, it seems that the problem appears using
multiprocessing. We already advise against sharing connections between
processes, so that's not of our concern.

-- Daniele