From: | Daniele Varrazzo <daniele(dot)varrazzo(at)gmail(dot)com> |
---|---|
To: | psycopg(at)postgresql(dot)org |
Subject: | Re: Deadlock |
Date: | 2011-06-04 01:01:14 |
Message-ID: | BANLkTiknm+2_pRvkzw9xbVmnC8MxOa5syg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | psycopg |
On Sat, May 28, 2011 at 1:12 AM, Daniele Varrazzo
<daniele(dot)varrazzo(at)gmail(dot)com> wrote:
> The script in ticket #55
> (http://psycopg.lighthouseapp.com/projects/62710-psycopg/tickets/55)
> sometimes triggers a deadlock. More rarely I've got a segfault or a
> loss of sync with the server.
The problem should be fixed. We were processing notifies after
releasing the connection lock, together with the result process. But,
while the result is in a read-only structure, processing notifies
implies parsing the connection, possibly disrupting the communication
for other threads.
-- Daniele
From | Date | Subject | |
---|---|---|---|
Next Message | Jason Erickson | 2011-06-04 15:19:31 | Re: Installing via pip under Win7 + virtualenv + VC++2008 |
Previous Message | Daniele Varrazzo | 2011-06-03 18:18:49 | Re: Installing via pip under Win7 + virtualenv + VC++2008 |