On Fri, Sep 28, 2012 at 10:43 PM, Ryan Kelly <rpkelly22@gmail.com> wrote:
>> Ritual questions: what psycopg, postgres and python versions are?
> psycopg2: 2.4.2
Oh, there it is: it's a known issue, it has been fixed in 2.4.3. I've
missed it at a first scan of the git blame, but we were actually not
reacquiring the GIL before calling PyErr_Occurred().
Just bump to the latest psycopg version and everything should be fixed.
-- Daniele