Re: segmentation faults with psycopg2 and multiprocessing - Mailing list psycopg

From Daniele Varrazzo
Subject Re: segmentation faults with psycopg2 and multiprocessing
Date
Msg-id CA+mi_8bkvWmeCEtAbJRPgiziCpdYDyrV4V31t40GxDgdcH0oKQ@mail.gmail.com
Whole thread Raw
In response to Re: segmentation faults with psycopg2 and multiprocessing  (Ryan Kelly <rpkelly22@gmail.com>)
Responses Re: segmentation faults with psycopg2 and multiprocessing
List psycopg
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


psycopg by date:

Previous
From: Ryan Kelly
Date:
Subject: Re: segmentation faults with psycopg2 and multiprocessing
Next
From: Ryan Kelly
Date:
Subject: Re: segmentation faults with psycopg2 and multiprocessing