Re: so, is connection.poll() supposed to block?

From: Federico Di Gregorio <fog(at)dndg(dot)it>
To: psycopg(at)postgresql(dot)org
Subject: Re: so, is connection.poll() supposed to block?
Date: 2011-10-03 08:18:05
Message-ID: 4E896FBD.50609@dndg.it
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: psycopg

On 01/10/11 10:41, Daniele Varrazzo wrote:
> On Sat, Oct 1, 2011 at 9:18 AM, Croepha <croepha(at)gmail(dot)com> wrote:
>> > It seems to be blocking, (or waiting on IO at times...) What is the point to
>> > doing a select on the connection if poll is going to block?
> Have you vented? Ok, great. Now, care to provide an example of what
> you're talking about?

He's probably polling a synchronous connection.

federico

--
Federico Di Gregorio fog(at)initd(dot)org
When people say things are a lot more complicated than that, they
means they're getting worried that they won't like the truth.
-- Granny Weatherwax

In response to

Responses

Browse psycopg by date

  From Date Subject
Next Message Croepha 2011-10-04 16:21:38 Re: so, is connection.poll() supposed to block?
Previous Message Daniele Varrazzo 2011-10-01 08:41:27 Re: so, is connection.poll() supposed to block?