Re: dblink doesn't honor interrupts while waiting a result - Mailing list pgsql-hackers

From Florian G. Pflug
Subject Re: dblink doesn't honor interrupts while waiting a result
Date
Msg-id 47C29DFB.3050906@phlo.org
Whole thread Raw
In response to Re: dblink doesn't honor interrupts while waiting a result  ("Marko Kreen" <markokr@gmail.com>)
List pgsql-hackers
Marko Kreen wrote:
> On 2/25/08, Florian G. Pflug <fgp@phlo.org> wrote:
>>  I'm not sure how a proper fix for this could look like, since the
>>  blocking actually happens inside libpq - but this certainly makes
>>  working with dblink painfull...
> 
> Proper fix would be to use async libpq API, then loop on poll(2)
> with small timeout.  You can look at pl/proxy for example code.
Ah, cool, I'll check out pl/proxy.

regards, Florian Pflug


pgsql-hackers by date:

Previous
From: "Marko Kreen"
Date:
Subject: Re: dblink doesn't honor interrupts while waiting a result
Next
From: "Kaare Rasmussen"
Date:
Subject: Questions about indexes with text_pattern_ops