Re: segmentation faults with psycopg2 and multiprocessing

From: Ryan Kelly <rpkelly22(at)gmail(dot)com>
To: Daniele Varrazzo <daniele(dot)varrazzo(at)gmail(dot)com>
Cc: psycopg(at)postgresql(dot)org
Subject: Re: segmentation faults with psycopg2 and multiprocessing
Date: 2012-09-28 23:32:53
Message-ID: 20120928233253.GM25296@llserver.lakeliving.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: psycopg

On Fri, Sep 28, 2012 at 11:48:54PM +0100, Daniele Varrazzo wrote:
> On Fri, Sep 28, 2012 at 10:43 PM, Ryan Kelly <rpkelly22(at)gmail(dot)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.
This is great news. Thanks!

>
> -- Daniele

-Ryan Kelly

In response to

Browse psycopg by date

  From Date Subject
Next Message Daniele Varrazzo 2012-10-06 12:10:27 Fixing handling of errors in green communication
Previous Message Daniele Varrazzo 2012-09-28 22:48:54 Re: segmentation faults with psycopg2 and multiprocessing